[pve-devel] [PATCH] Add mp to required in pct set mount-point.
Wolfgang Link
w.link at proxmox.com
Tue Jan 12 12:59:41 CET 2016
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
More information about the pve-devel
mailing list