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 <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak
2017-11-10 14:49:17 +01:00
committed by Fabian Grünbichler
parent fc7c0e0504
commit 5da48ca6ea
2 changed files with 3 additions and 1 deletions

View 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,
};
}

View File

@ -237,6 +237,7 @@ sub type {
sub plugindata {
return {
content => [ {images => 1, none => 1}, { images => 1 }],
select_existing => 1,
};
}