Fix Proxmox builder unhandled buildvar type (#10154)
* Fix Proxmox builder unhandled buildvar type #10139 Co-authored-by: Calle Pettersson <carlpett@users.noreply.github.com> Co-authored-by: Adrien Delorme <adrien.delorme@icloud.com>
This commit is contained in:
parent
25f4e24772
commit
73370570f4
|
@ -93,7 +93,9 @@ func (s *stepStartVM) Run(ctx context.Context, state multistep.StateBag) multist
|
|||
state.Put("vmRef", vmRef)
|
||||
// instance_id is the generic term used so that users can have access to the
|
||||
// instance id inside of the provisioners, used in step_provision.
|
||||
state.Put("instance_id", vmRef)
|
||||
// Note that this is just the VMID, we do not keep the node, pool and other
|
||||
// info available in the vmref type.
|
||||
state.Put("instance_id", vmRef.VmId())
|
||||
|
||||
ui.Say("Starting VM")
|
||||
_, err = client.StartVm(vmRef)
|
||||
|
|
Loading…
Reference in New Issue