Skip to content

Commit

Permalink
UpdateConfig: bugfix honor config.Machine
Browse files Browse the repository at this point in the history
based on 40d91c5

Signed-off-by: Matías Pecchia <[email protected]>
  • Loading branch information
mabeett committed Dec 4, 2022
1 parent 8966061 commit 7a6b5a5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions proxmox/config_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,11 @@ func (config ConfigQemu) UpdateConfig(vmr *VmRef, client *Client) (err error) {
configParams["scsihw"] = config.Scsihw
}

err = config.CreateQemuMachineParam(configParams)
if err != nil {
log.Printf("[ERROR] %q", err)
}

// Create disks config.
configParamsDisk := map[string]interface{}{
"vmid": vmr.vmId,
Expand Down

0 comments on commit 7a6b5a5

Please sign in to comment.