]> git.proxmox.com Git - pve-storage.git/blobdiff - PVE/Storage/ISCSIDirectPlugin.pm
fix prune-backups validation (again)
[pve-storage.git] / PVE / Storage / ISCSIDirectPlugin.pm
index f0c6c53853a8bf3bfa0afd7073f58b33c7449be5..9777969b39e02ee03c44aca84da332b8bb56a316 100644 (file)
@@ -36,6 +36,7 @@ sub iscsi_ls {
                    $list->{$storeid}->{$image} = {
                        name => $image,
                        size => $size * $unittobytes{$unit},
+                       format => 'raw',
                    };
                }
            });
@@ -56,7 +57,8 @@ sub type {
 
 sub plugindata {
     return {
-        content => [ {images => 1, none => 1}, { images => 1 }],
+       content => [ {images => 1, none => 1}, { images => 1 }],
+       select_existing => 1,
     };
 }
 
@@ -67,6 +69,7 @@ sub options {
         nodes => { optional => 1},
         disable => { optional => 1},
         content => { optional => 1},
+        bwlimit => { optional => 1 },
     };
 }