From d550cc6d63cd2fce044a16f5f644bed71156d9fe Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 1 Sep 2010 11:00:35 +0000 Subject: [PATCH] * Grmbl. Create the missing mount points. svn path=/nixos/trunk/; revision=23592 --- modules/virtualisation/amazon-image.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/virtualisation/amazon-image.nix b/modules/virtualisation/amazon-image.nix index 5108eb4f58e0..4334f04325bc 100644 --- a/modules/virtualisation/amazon-image.nix +++ b/modules/virtualisation/amazon-image.nix @@ -86,9 +86,11 @@ with pkgs.lib; boot.initrd.postMountCommands = '' mkdir -m 1777 -p $targetRoot/ephemeral0/tmp + mkdir -m 1777 -p $targetRoot/tmp mount --bind $targetRoot/ephemeral0/tmp $targetRoot/tmp mkdir -m 755 -p $targetRoot/ephemeral0/var + mkdir -m 755 -p $targetRoot/var mount --bind $targetRoot/ephemeral0/var $targetRoot/var mkdir -m 755 -p $targetRoot/ephemeral0/nix