[pve-devel] [PATCH container] docs: update mountpoint descriptions
Fabian Grünbichler
f.gruenbichler at proxmox.com
Tue Jun 7 11:11:02 CEST 2016
---
src/PVE/LXC/Config.pm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/src/PVE/LXC/Config.pm b/src/PVE/LXC/Config.pm
index 6b4ec4c..d80dae0 100644
--- a/src/PVE/LXC/Config.pm
+++ b/src/PVE/LXC/Config.pm
@@ -208,7 +208,7 @@ my $rootfs_desc = {
},
ro => {
type => 'boolean',
- description => 'Read-only mountpoint (not supported with bind mounts)',
+ description => 'Read-only mountpoint',
optional => 1,
},
quota => {
@@ -543,6 +543,8 @@ my $mp_desc = {
backup => {
type => 'boolean',
description => 'Whether to include the mountpoint in backups.',
+ verbose_description => 'Whether to include the mountpoint in backups '.
+ '(only used for volume mountpoints).',
optional => 1,
},
mp => {
@@ -550,6 +552,8 @@ my $mp_desc = {
format => 'pve-lxc-mp-string',
format_description => 'Path',
description => 'Path to the mountpoint as seen from inside the container.',
+ verbose_description => "Path to the mountpoint as seen from inside the container.\n\n".
+ "WARNING: Must not contain any symlinks for security reasons."
},
};
PVE::JSONSchema::register_format('pve-ct-mountpoint', $mp_desc);
--
2.1.4
More information about the pve-devel
mailing list