Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue 71] add skip_convert_to_template option #283

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix error message
  • Loading branch information
mpywell committed Oct 30, 2024

Verified

This commit was signed with the committer’s verified signature.
gastaldi George Gastaldi
commit 2d794d1d543aa68a4b5eef7781a01ae5e25cb15f
2 changes: 1 addition & 1 deletion builder/proxmox/common/step_finalize_config.go
Original file line number Diff line number Diff line change
@@ -146,7 +146,7 @@ func (s *stepFinalizeConfig) Run(ctx context.Context, state multistep.StateBag)
ui.Say("Hardware changes pending for VM, stopping VM")
_, err := client.ShutdownVm(vmRef)
if err != nil {
err := fmt.Errorf("Error converting VM to template, could not stop: %s", err)
err := fmt.Errorf("Error stopping VM: %s", err)
state.Put("error", err)
ui.Error(err.Error())
return multistep.ActionHalt