3
0
Fork 0
forked from mirrors/nixpkgs

Mount /dev/shm in VMs

This commit is contained in:
Eelco Dolstra 2015-05-07 15:27:45 +02:00
parent 3545321e35
commit c3f6c8c582

View file

@ -113,6 +113,9 @@ rec {
mkdir -p /fs/dev
mount -o bind /dev /fs/dev
mkdir -p /fs/dev /fs/dev/shm
mount -t tmpfs -o "mode=1777" none /fs/dev/shm
echo "mounting Nix store..."
mkdir -p /fs/nix/store
mount -t 9p store /fs/nix/store -o trans=virtio,version=9p2000.L,msize=262144,cache=loose