]> git.proxmox.com Git - pve-container.git/commit
Check content type when adding/updating volumes
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 16 Mar 2016 09:14:00 +0000 (10:14 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Wed, 16 Mar 2016 09:29:07 +0000 (10:29 +0100)
commit56d7fc1ba74f59d04d448c385cd4a07bc15a382b
tree73a5f3d74159114e41f3283e041ddc531344d8d3
parent0822d32fc78b10c86de2508093a933dc5c1a1c98
Check content type when adding/updating volumes

the non-'rootdir' storages are filtered out in the web
interface already, but using the API/CLI it was still
possible to add volumes on storages without the 'rootdir'
content type.

this check is only used for mountpoints using our storage
backends, bind/dev mounts still work like before.
src/PVE/LXC/Config.pm