Re: [pve-devel] [PATCH container] docs: update mountpoint descriptions

2016-06-07 Thread Dietmar Maurer
applied

___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


[pve-devel] [PATCH container] docs: update mountpoint descriptions

2016-06-07 Thread Fabian Grünbichler
---
 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


___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel