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.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