[pve-devel] [PATCH container 3/3] Check lock in lxc-pre-start-hook script as well

Fabian Grünbichler f.gruenbichler at proxmox.com
Fri Jan 15 10:03:33 CET 2016


---
 src/lxc-pve-prestart-hook | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/lxc-pve-prestart-hook b/src/lxc-pve-prestart-hook
index e88911d..1ba957f 100755
--- a/src/lxc-pve-prestart-hook
+++ b/src/lxc-pve-prestart-hook
@@ -63,6 +63,7 @@ __PACKAGE__->register_method ({
 	return undef if ! -f PVE::LXC::config_file($vmid);
 
 	my $conf = PVE::LXC::load_config($vmid);
+	PVE::LXC::check_lock($conf);
 
 	my $storage_cfg = PVE::Storage::config();
 
-- 
2.1.4





More information about the pve-devel mailing list