diff --git a/proxmox/config_qemu.go b/proxmox/config_qemu.go index a0605588..3797bce4 100644 --- a/proxmox/config_qemu.go +++ b/proxmox/config_qemu.go @@ -329,6 +329,10 @@ func (config ConfigQemu) UpdateConfig(vmr *VmRef, client *Client) (err error) { configParams["startup"] = config.Startup } + if config.QemuIso != "" { + configParams["ide2"] = config.QemuIso + ",media=cdrom" + } + if config.Bios != "" { configParams["bios"] = config.Bios }