[pve-devel] [PATCH 4/7] add targetstorage to vm_start

Wolfgang Bumiller w.bumiller at proxmox.com
Thu Oct 20 12:46:33 CEST 2016


> On October 20, 2016 at 11:00 AM Alexandre DERUMIER <aderumier at odiso.com> wrote:
> 
> 
> >>Maybe don't use 'pve-storage-id' for targetstorage in the schema and
> >>use a '1' instead of 'auto', since 'auto' is a valid storage name while
> >>'1' is not.
> 
> Yes, I had tried that but had pve-storage-id format error.
> I'll remove the pve-storage-id format if it's ok for you.

Yes. If the storage doesn't exist you'll run into errors anyway (and even if the
format checks out the storage might still not exist anyway).
So a simple string type should be fine.




More information about the pve-devel mailing list