]> git.proxmox.com Git - pve-storage.git/commit - PVE/Storage.pm
fix #2216: Allow .img files in 'iso' type storages
authorStefan Reiter <s.reiter@proxmox.com>
Thu, 22 Aug 2019 12:39:53 +0000 (14:39 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 3 Sep 2019 05:09:28 +0000 (07:09 +0200)
commit4c69349140a264589c61e80ccc30ad9b1bd6a1bb
tree00a7598832f7469d6691b927d6a436a564650ee9
parentb9993c4e9d78597775db06bdd5fee5824830a5a2
fix #2216: Allow .img files in 'iso' type storages

To maintain full (backwards) compatibility, leave the type name as
'iso' - this makes this patch work without changing every consumer of
storage APIs.

Note that currently these files can only be attached as a CDROM/DVD
drive, so USB-only images can be uploaded but might not work in VMs.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
PVE/API2/Storage/Status.pm
PVE/Storage.pm
PVE/Storage/Plugin.pm