]> git.proxmox.com Git - pve-storage.git/commitdiff
allow snippets by default for new dir storages
authorDominik Csapak <d.csapak@proxmox.com>
Tue, 29 Jan 2019 15:28:40 +0000 (16:28 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 31 Jan 2019 10:04:29 +0000 (11:04 +0100)
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/API2/Disks/Directory.pm

index a1e1afe135adec929a7325df9229378b69e28a47..02cc72a88216fcac105b9f365083f341220ffd07 100644 (file)
@@ -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,