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

Dominik Csapak d.csapak at proxmox.com
Thu Jan 24 12:30:53 CET 2019


Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
 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..2743829 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,scripts',
 			is_mountpoint => 1,
 			path => $path,
 			nodes => $node,
-- 
2.11.0





More information about the pve-devel mailing list