diff --git a/test/boot-stage-2-init.sh b/test/boot-stage-2-init.sh index 5fd302a6835..12d6baf84a5 100644 --- a/test/boot-stage-2-init.sh +++ b/test/boot-stage-2-init.sh @@ -93,7 +93,7 @@ fi # We need "localhost" (!!! destructive hack for NIXOS-41). -echo "127.0.0.1 localhost" > /etc/localhost +echo "127.0.0.1 localhost" > /etc/hosts echo "hosts: files dns" > /etc/nsswitch.conf