[pve-devel] applied: [PATCH manager] do not send 'undefined' as romfile

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Dec 5 14:26:09 CET 2018


On 12/5/18 1:25 PM, Dominik Csapak wrote:> when adding a pcidevice, we added 'romfile=undefined' by accident
> 
> Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
> ---
>  www/manager6/qemu/PCIEdit.js | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/www/manager6/qemu/PCIEdit.js b/www/manager6/qemu/PCIEdit.js
> index 40a7d8c7..85d1f4ce 100644
> --- a/www/manager6/qemu/PCIEdit.js
> +++ b/www/manager6/qemu/PCIEdit.js
> @@ -55,6 +55,10 @@ Ext.define('PVE.qemu.PCIInputPanel', {
>  	    values.rombar = 0;
>  	}
>  
> +	if (!values.romfile) {
> +	    delete values.romfile;
> +	}
> +
>  	ret[me.confid] = PVE.Parser.printPropertyString(values, 'host');
>  	return ret;
>      },
> 
applied, thanks!




More information about the pve-devel mailing list