changed location to mirrir.openbsd.amsterdam

This commit is contained in:
mischa 2020-09-26 11:54:27 +02:00
parent 50a2546d18
commit f0f264d492
2 changed files with 4 additions and 7 deletions

View File

@ -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";

View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (c) 2019 Mischa Peters <mischa @ openbsd.amsterdam>
# Copyright (c) 2019-2020 Mischa Peters <mischa @ openbsd.amsterdam>
#
# 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}"