Skip to content

Commit

Permalink
UpdateConfig: bugfix honor config.QemuIso
Browse files Browse the repository at this point in the history
based on 06b2d55

Signed-off-by: Matías Pecchia <[email protected]>
  • Loading branch information
mabeett committed Dec 4, 2022
1 parent 2f1c81e commit 8966061
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions proxmox/config_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 8966061

Please sign in to comment.