nixos-install: Fix running it after again the activation script

This commit is contained in:
Eelco Dolstra 2014-05-21 12:44:00 +02:00
parent 93a7cf74b9
commit 1e2291f23a
1 changed files with 1 additions and 0 deletions

View File

@ -80,6 +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
rm -f $mountPoint/etc/{resolv.conf,hosts}
cp -f /etc/resolv.conf /etc/hosts $mountPoint/etc/