[pve-devel] [PATCH container 1/2] restore: fix simple with non-volume mps
Fabian Grünbichler
f.gruenbichler at proxmox.com
Tue Sep 20 13:02:42 CEST 2016
adding non-volume mps was supposed to be delayed in "simple"
(storage-only) restore mode
---
src/PVE/API2/LXC.pm | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/PVE/API2/LXC.pm b/src/PVE/API2/LXC.pm
index 9b92c13..12aaffa 100644
--- a/src/PVE/API2/LXC.pm
+++ b/src/PVE/API2/LXC.pm
@@ -360,6 +360,7 @@ __PACKAGE__->register_method({
warn "mountpoint configuration will be restored after archive extraction!\n";
warn "contained files will be restored to wrong directory!\n";
}
+ delete $mp_param->{$ms}; # actually delay bind/dev mps
$delayed_mp_param->{$ms} = PVE::LXC::Config->print_ct_mountpoint($mountpoint, $ms eq 'rootfs');
}
});
--
2.1.4
More information about the pve-devel
mailing list