]> git.proxmox.com Git - pve-storage.git/commitdiff
add select_existing to plugindata for iscsi(direct)
authorDominik Csapak <d.csapak@proxmox.com>
Fri, 10 Nov 2017 13:49:17 +0000 (14:49 +0100)
committerFabian Grünbichler <f.gruenbichler@proxmox.com>
Tue, 14 Nov 2017 12:23:52 +0000 (13:23 +0100)
this will be used in the gui, for determining if we need to select
something from the storage when using for an image

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/Storage/ISCSIDirectPlugin.pm
PVE/Storage/ISCSIPlugin.pm

index f0c6c53853a8bf3bfa0afd7073f58b33c7449be5..792d8660285c6c8585b4f78d469cd69b324c9721 100644 (file)
@@ -56,7 +56,8 @@ sub type {
 
 sub plugindata {
     return {
-        content => [ {images => 1, none => 1}, { images => 1 }],
+       content => [ {images => 1, none => 1}, { images => 1 }],
+       select_existing => 1,
     };
 }
 
index aef8675ffb6d53f12482178ea131df1788fca35e..04b5172c7e254b9854d9b10fb172869afd7e64b0 100644 (file)
@@ -237,6 +237,7 @@ sub type {
 sub plugindata {
     return {
        content => [ {images => 1, none => 1}, { images => 1 }],
+       select_existing => 1,
     };
 }