From e135e6b35b4ac75cfee7c561b2ea864967568f81 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 21 May 2014 11:20:33 +0200 Subject: [PATCH] nixos-install: Copy /etc/hosts http://hydra.nixos.org/build/11130069 --- nixos/modules/installer/tools/nixos-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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