Skip to content

Commit

Permalink
Add "protection" field in ConfigQemu.mapToApiValues
Browse files Browse the repository at this point in the history
  • Loading branch information
xserrat committed Mar 16, 2024
1 parent d4a9e80 commit 7c0a64b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions proxmox/config_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,9 @@ func (config ConfigQemu) mapToApiValues(currentConfig ConfigQemu) (rebootRequire
if config.Onboot != nil {
params["onboot"] = *config.Onboot
}
if config.Protection != nil {
params["protection"] = *config.Protection
}
if config.QemuOs != "" {
params["ostype"] = config.QemuOs
}
Expand Down

0 comments on commit 7c0a64b

Please sign in to comment.