[pve-devel] [PATCH storage] add select to plugindata for iscsi(direct)
Dominik Csapak
d.csapak at proxmox.com
Wed Jul 19 15:16:55 CEST 2017
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 at proxmox.com>
---
this patch is needed for my upcoming series for pve-manager,
otherwise one can no longer select luns on the gui then
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..dad9436 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 => 1,
};
}
diff --git a/PVE/Storage/ISCSIPlugin.pm b/PVE/Storage/ISCSIPlugin.pm
index 326de9d..4f5beb2 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 => 1,
};
}
--
2.11.0
More information about the pve-devel
mailing list