From f4fe7549fdd887dd9805ed3279e697ad8af3e873 Mon Sep 17 00:00:00 2001 From: Wolfgang Link Date: Fri, 15 Jan 2016 07:25:08 +0100 Subject: [PATCH] Add mp to required in pct set mount-point. If map is not set you get a warning of an empty variable without real information. And when you try to start the container, it will not start without an explication. --- src/PVE/LXC.pm | 1 - 1 file changed, 1 deletion(-) diff --git a/src/PVE/LXC.pm b/src/PVE/LXC.pm index 860901f..af3b9b7 100644 --- a/src/PVE/LXC.pm +++ b/src/PVE/LXC.pm @@ -357,7 +357,6 @@ my $mp_desc = { type => 'string', format_description => 'Path', description => 'Path to the mountpoint as seen from inside the container.', - optional => 1, }, }; PVE::JSONSchema::register_format('pve-ct-mountpoint', $mp_desc); -- 2.39.5