From 5da48ca6ea21cf7a9815edd803c39cb2b3b383b9 Mon Sep 17 00:00:00 2001 From: Dominik Csapak Date: Fri, 10 Nov 2017 14:49:17 +0100 Subject: [PATCH] add select_existing to plugindata for iscsi(direct) 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 --- PVE/Storage/ISCSIDirectPlugin.pm | 3 ++- PVE/Storage/ISCSIPlugin.pm | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/PVE/Storage/ISCSIDirectPlugin.pm b/PVE/Storage/ISCSIDirectPlugin.pm index f0c6c53..792d866 100644 --- a/PVE/Storage/ISCSIDirectPlugin.pm +++ b/PVE/Storage/ISCSIDirectPlugin.pm @@ -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, }; } diff --git a/PVE/Storage/ISCSIPlugin.pm b/PVE/Storage/ISCSIPlugin.pm index aef8675..04b5172 100644 --- a/PVE/Storage/ISCSIPlugin.pm +++ b/PVE/Storage/ISCSIPlugin.pm @@ -237,6 +237,7 @@ sub type { sub plugindata { return { content => [ {images => 1, none => 1}, { images => 1 }], + select_existing => 1, }; }