Re: [pve-devel] [PATCH manager] Improve storage selection on restore

2020-05-06 Thread Fabian Ebner
On 5/5/20 1:40 PM, Thomas Lamprecht wrote: On 5/5/20 1:20 PM, Fabian Ebner wrote: Previously, the blank '' would be passed along and lead to a parameter verfication failure. For LXC the default behavior in the backend is to use 'local' as the storage, so disallow blank and auto-select the

Re: [pve-devel] [PATCH manager] Improve storage selection on restore

2020-05-05 Thread Thomas Lamprecht
On 5/5/20 1:20 PM, Fabian Ebner wrote: > Previously, the blank '' would be passed along and lead to a > parameter verfication failure. > > For LXC the default behavior in the backend is to use 'local' as > the storage, so disallow blank and auto-select the first storage > supporting 'rootdir'

[pve-devel] [PATCH manager] Improve storage selection on restore

2020-05-05 Thread Fabian Ebner
Previously, the blank '' would be passed along and lead to a parameter verfication failure. For LXC the default behavior in the backend is to use 'local' as the storage, so disallow blank and auto-select the first storage supporting 'rootdir' instead. For QEMU the default behavior in the backend