]> git.proxmox.com Git - pve-container.git/commitdiff
remove backup property from rootfs
authorDietmar Maurer <dietmar@proxmox.com>
Wed, 18 May 2016 08:26:14 +0000 (10:26 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 18 May 2016 08:26:14 +0000 (10:26 +0200)
Because it only makes sense for mount points. We always backup
rootfs anyways.

src/PVE/LXC/Config.pm

index 13f00aa2748897b66a28c937a0f4e77868011849..6bdd5da156c7f2e8e20ae0f4747015f6e9071619 100644 (file)
@@ -187,11 +187,6 @@ my $rootfs_desc = {
        format_description => 'volume',
        description => 'Volume, device or directory to mount into the container.',
     },
-    backup => {
-       type => 'boolean',
-       description => 'Whether to include the mountpoint in backups.',
-       optional => 1,
-    },
     size => {
        type => 'string',
        format => 'disk-size',
@@ -538,6 +533,11 @@ sub verify_lxc_mp_string {
 
 my $mp_desc = {
     %$rootfs_desc,
+    backup => {
+       type => 'boolean',
+       description => 'Whether to include the mountpoint in backups.',
+       optional => 1,
+    },
     mp => {
        type => 'string',
        format => 'pve-lxc-mp-string',