Skip to content

Commit

Permalink
fix controller var for cloud-init disk
Browse files Browse the repository at this point in the history
  • Loading branch information
xrayj11 committed Mar 23, 2024
1 parent 816abb5 commit d08938f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder/proxmox/common/step_finalize_template_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (s *stepFinalizeTemplateConfig) Run(ctx context.Context, state multistep.St
}
cloudInitAttached := false
// find a free disk controller
for _, controller := range ideControllers {
for _, controller := range diskControllers {
if vmParams[controller] == nil {
ui.Say("Adding a cloud-init cdrom in storage pool " + cloudInitStoragePool)
changes[controller] = cloudInitStoragePool + ":cloudinit"
Expand Down

0 comments on commit d08938f

Please sign in to comment.