diff --git a/deploy.pl b/deploy.pl index 5defecf..c8790a5 100755 --- a/deploy.pl +++ b/deploy.pl @@ -204,7 +204,7 @@ sub render_install_conf { printf $fh_install "Which disk is the root disk = sd0\n"; printf $fh_install "What timezone are you in = Europe/Amsterdam\n"; printf $fh_install "Location of sets = http\n"; - printf $fh_install "Server = openbsd.amsterdam\n"; + printf $fh_install "Server = mirror.openbsd.amsterdam\n"; printf $fh_install "Set name(s) = +site*\n"; printf $fh_install "Continue anyway = yes\n"; printf $fh_install "Continue without verification = yes\n"; diff --git a/stats.sh b/stats.sh index 050808c..e580c8c 100755 --- a/stats.sh +++ b/stats.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# Copyright (c) 2019 Mischa Peters +# Copyright (c) 2019-2020 Mischa Peters # # Permission to use, copy, modify, and distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -14,10 +14,7 @@ # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. # +HOST=$(hostname -s) TOTAL=$(vmctl show | grep -vc ID) RUNNING=$(vmctl show | egrep -vc 'ID|- ') -uname -a -date -w | grep -v mischa -printf "VMs Running: %s of %s\n" "${RUNNING}" "${TOTAL}" - +printf "VMs Running: %2d of %2d (%s)\n" "${RUNNING}" "${TOTAL}" "${HOST}"