summaryrefslogtreecommitdiffstats
path: root/infest
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-05-20 17:12:34 +0200
committertv <tv@shackspace.de>2015-05-20 17:12:34 +0200
commit93904b17bfde6a73c18813995776138aa1c35652 (patch)
tree91f807a88863f60cc925da96a8746ba8e2926d5d /infest
parente734f3b8b78c471ad40ecf762c12fbdf4b96a0da (diff)
infest: mkdir /var/empty
Diffstat (limited to 'infest')
-rwxr-xr-xinfest2
1 files changed, 2 insertions, 0 deletions
diff --git a/infest b/infest
index 814b4cbd0..829c4c8c2 100755
--- a/infest
+++ b/infest
@@ -179,6 +179,8 @@ infest_centos7_64bit() {
mkdir -p /mnt/etc/nixos
rsync -zvrlptD --delete-excluded /etc/nixos/ /mnt/etc/nixos/
+ mkdir -m 0444 -p /mnt/var/empty
+
ln -s $main /mnt/etc/nixos/configuration.nix
nixos-install