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

Dominik Csapak d.csapak at proxmox.com
Mon Jan 21 09:44:33 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