---
Note: this was previously included in the refactoring
patch, got its own patch for clarity's sake..

 src/PVE/LXC/Create.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/PVE/LXC/Create.pm b/src/PVE/LXC/Create.pm
index 68628a1..123ca81 100644
--- a/src/PVE/LXC/Create.pm
+++ b/src/PVE/LXC/Create.pm
@@ -207,7 +207,7 @@ sub create_rootfs {
     PVE::LXC::Config->write_config($vmid, $conf);
 
     eval {
-       my $rootdir = PVE::LXC::mount_all($vmid, $storage_cfg, $conf);
+       my $rootdir = PVE::LXC::mount_all($vmid, $storage_cfg, $conf, 1);
         restore_and_configure($vmid, $archive, $rootdir, $conf, $password,
                              $restore, $no_unpack_error, $ssh_keys);
     };
-- 
2.1.4


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to