[pve-devel] [PATCH storage v3 3/3] allow snippets by default for new dir storages

Dominik Csapak d.csapak at proxmox.com
Tue Jan 29 16:28:40 CET 2019


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
changes from v2:
* change scripts to snippets
 PVE/API2/Disks/Directory.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Disks/Directory.pm b/PVE/API2/Disks/Directory.pm
index a1e1afe..02cc72a 100644
--- a/PVE/API2/Disks/Directory.pm
+++ b/PVE/API2/Disks/Directory.pm
@@ -270,7 +270,7 @@ __PACKAGE__->register_method ({
 		    my $storage_params = {
 			type => 'dir',
 			storage => $name,
-			content => 'rootdir,images,iso,backup,vztmpl',
+			content => 'rootdir,images,iso,backup,vztmpl,snippets',
 			is_mountpoint => 1,
 			path => $path,
 			nodes => $node,
-- 
2.11.0





More information about the pve-devel mailing list