From 15467aa8680d098afa2f46d652f62c66d71c21c1 Mon Sep 17 00:00:00 2001 From: netapp-jgriffit <47190892+netapp-jgriffit@users.noreply.github.com> Date: Fri, 16 Oct 2020 10:34:45 -0400 Subject: [PATCH] Update builder/vsphere/common/step_shutdown.go Co-authored-by: Sylvia Moss --- builder/vsphere/common/step_shutdown.go | 1 - 1 file changed, 1 deletion(-) diff --git a/builder/vsphere/common/step_shutdown.go b/builder/vsphere/common/step_shutdown.go index e14b67957..8c71cc2d3 100644 --- a/builder/vsphere/common/step_shutdown.go +++ b/builder/vsphere/common/step_shutdown.go @@ -71,7 +71,6 @@ func (s *StepShutdown) Run(ctx context.Context, state multistep.StateBag) multis ui.Say("Automatic shutdown disabled. Please shutdown virtual machine.") } else if s.Config.Command != "" { // Communicator is not needed unless shutdown_command is populated - comm := state.Get("communicator").(packer.Communicator) ui.Say("Executing shutdown command...") log.Printf("Shutdown command: %s", s.Config.Command)