* Mark QEMU VMs as NixOS machines.
svn path=/nixos/trunk/; revision=34217
This commit is contained in:
parent
be4e823428
commit
9dadfc3541
@ -274,6 +274,10 @@ in
|
|||||||
|
|
||||||
boot.initrd.postMountCommands =
|
boot.initrd.postMountCommands =
|
||||||
''
|
''
|
||||||
|
# Mark this as a NixOS machinex.
|
||||||
|
mkdir -p $targetRoot/etc
|
||||||
|
echo -n > $targetRoot/etc/NIXOS
|
||||||
|
|
||||||
# Fix the permissions on /tmp.
|
# Fix the permissions on /tmp.
|
||||||
chmod 1777 $targetRoot/tmp
|
chmod 1777 $targetRoot/tmp
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user