]> git.proxmox.com Git - pve-container.git/commitdiff
ignore ro flag when creating/restoring CT
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Fri, 3 Jun 2016 07:56:15 +0000 (09:56 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 3 Jun 2016 08:00:05 +0000 (10:00 +0200)
src/PVE/LXC/Create.pm

index 68628a1afa84725f37d5a738635b00e3eee623ff..123ca815f5c0e8e6c21e55b5270e1db31939506c 100644 (file)
@@ -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);
     };