diff --git a/nixos/modules/installer/tools/nixos-install.sh b/nixos/modules/installer/tools/nixos-install.sh index 3311e4c8e9a..ec48394435d 100644 --- a/nixos/modules/installer/tools/nixos-install.sh +++ b/nixos/modules/installer/tools/nixos-install.sh @@ -80,7 +80,7 @@ mount -t tmpfs -o "mode=0755" none $mountPoint/run mount -t tmpfs -o "mode=0755" none $mountPoint/var/setuid-wrappers rm -rf $mountPoint/var/run ln -s /run $mountPoint/var/run -cp -f /etc/resolv.conf $mountPoint/etc/resolv.conf +cp -f /etc/resolv.conf /etc/hosts $mountPoint/etc/ if [ -n "$runChroot" ]; then