nixos-install: Fix running it after again the activation script
This commit is contained in:
parent
93a7cf74b9
commit
1e2291f23a
@ -80,6 +80,7 @@ mount -t tmpfs -o "mode=0755" none $mountPoint/run
|
|||||||
mount -t tmpfs -o "mode=0755" none $mountPoint/var/setuid-wrappers
|
mount -t tmpfs -o "mode=0755" none $mountPoint/var/setuid-wrappers
|
||||||
rm -rf $mountPoint/var/run
|
rm -rf $mountPoint/var/run
|
||||||
ln -s /run $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/
|
cp -f /etc/resolv.conf /etc/hosts $mountPoint/etc/
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user