]> git.proxmox.com Git - pve-storage.git/commitdiff
enable snippets content type for all directory based storages
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 29 Jan 2019 15:28:39 +0000 (16:28 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 31 Jan 2019 10:04:29 +0000 (11:04 +0100)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/Storage/CIFSPlugin.pm
PVE/Storage/CephFSPlugin.pm
PVE/Storage/DirPlugin.pm
PVE/Storage/NFSPlugin.pm
PVE/Storage/Plugin.pm

index b3f3d861880821a47d5014524bbe08e0079a5218..582f99b1f8fb35119295dd8734f6fcae63884db9 100644 (file)
@@ -81,7 +81,7 @@ sub type {
 sub plugindata {
     return {
        content => [ { images => 1, rootdir => 1, vztmpl => 1, iso => 1,
-                  backup => 1}, { images => 1 }],
+                  backup => 1, snippets => 1}, { images => 1 }],
        format => [ { raw => 1, qcow2 => 1, vmdk => 1 } , 'raw' ],
     };
 }
index f9e5acb5133225a47630a29d5689d7eb859e432a..16fc3160dfce9319cddb16829ac65ad46d2d5887 100644 (file)
@@ -86,7 +86,7 @@ sub type {
 
 sub plugindata {
     return {
-       content => [ { vztmpl => 1, iso => 1, backup => 1},
+       content => [ { vztmpl => 1, iso => 1, backup => 1, snippets => 1},
                     { backup => 1 }],
     };
 }
index 5224f4d850ec5b1fed0821f10b238ff989296ad9..e24ee0905aabcf35a6e160b7c11c330afb181428 100644 (file)
@@ -17,7 +17,7 @@ sub type {
 
 sub plugindata {
     return {
-       content => [ { images => 1, rootdir => 1, vztmpl => 1, iso => 1, backup => 1, none => 1 },
+       content => [ { images => 1, rootdir => 1, vztmpl => 1, iso => 1, backup => 1, snippets => 1, none => 1 },
                     { images => 1,  rootdir => 1 }],
        format => [ { raw => 1, qcow2 => 1, vmdk => 1, subvol => 1 } , 'raw' ],
     };
index 5862d82af7e37a2bb6d0968ef4939fd8a24e1b57..82b0c5ffe46cf001fc335c6b854d6ab928919e6c 100644 (file)
@@ -51,7 +51,7 @@ sub type {
 
 sub plugindata {
     return {
-       content => [ { images => 1, rootdir => 1, vztmpl => 1, iso => 1, backup => 1},
+       content => [ { images => 1, rootdir => 1, vztmpl => 1, iso => 1, backup => 1, snippets => 1 },
                     { images => 1 }],
        format => [ { raw => 1, qcow2 => 1, vmdk => 1 } , 'raw' ],
     };
index c641981f3daad515100f7cec3ebc671bcd83e1b3..10c2c734a2263c6abeb4fa7555f0fa6f1e7164bb 100644 (file)
@@ -327,7 +327,7 @@ sub parse_config {
            priority => 0, # force first entry
            path => '/var/lib/vz',
            maxfiles => 0,
-           content => { images => 1, rootdir => 1, vztmpl => 1, iso => 1},
+           content => { images => 1, rootdir => 1, vztmpl => 1, iso => 1, snippets => 1},
        };
     }