]> git.proxmox.com Git - pve-storage.git/commitdiff
Fix 2647: Add snippet content type for Gluster
authorDominic Jäger <d.jaeger@proxmox.com>
Thu, 26 Mar 2020 09:33:28 +0000 (10:33 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 8 Apr 2020 05:53:17 +0000 (07:53 +0200)
Our wiki mentions snippets as supported content type for GlusterFS storages [0]
and all other directory based storages have it enabled already [1]

[0] https://pve.proxmox.com/wiki/Storage:_GlusterFS
[1] https://git.proxmox.com/?p=pve-storage.git;a=commit;h=d1eb35ea74cf27713625ab7e7c3767a8254a4aee

Signed-off-by: Dominic Jäger <d.jaeger@proxmox.com>
PVE/Storage/GlusterfsPlugin.pm

index 2cf2da9f943975a35e01bf4b3b0cb6210b1b7e7a..70ea4fc3bb1022ba8c37a734cf7a590e9f159ad4 100644 (file)
@@ -97,7 +97,7 @@ sub type {
 
 sub plugindata {
     return {
-       content => [ { images => 1, vztmpl => 1, iso => 1, backup => 1},
+       content => [ { images => 1, vztmpl => 1, iso => 1, backup => 1, snippets => 1},
                     { images => 1 }],
        format => [ { raw => 1, qcow2 => 1, vmdk => 1 } , 'raw' ],
     };