nixos-install: Copy /etc/hosts

http://hydra.nixos.org/build/11130069
This commit is contained in:
Eelco Dolstra 2014-05-21 11:20:33 +02:00
parent 35925d7a76
commit e135e6b35b

View File

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