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


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

Reply via email to