enable snippets content type for all directory based storages
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
committed by
Thomas Lamprecht
parent
7c7ae12f43
commit
d1eb35ea74
@ -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' ],
|
||||
};
|
||||
}
|
||||
|
||||
@ -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 }],
|
||||
};
|
||||
}
|
||||
|
||||
@ -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' ],
|
||||
};
|
||||
|
||||
@ -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' ],
|
||||
};
|
||||
|
||||
@ -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},
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user