From 2cee7a5c10579d7d91c99d93f9759e842033bd2b Mon Sep 17 00:00:00 2001 From: Ben Langfeld Date: Fri, 14 Mar 2014 00:26:26 -0300 Subject: [PATCH] Log export command being executed --- builder/virtualbox/common/step_export.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builder/virtualbox/common/step_export.go b/builder/virtualbox/common/step_export.go index 756530572..5c5d4c887 100644 --- a/builder/virtualbox/common/step_export.go +++ b/builder/virtualbox/common/step_export.go @@ -7,6 +7,7 @@ import ( "log" "path/filepath" "time" + "strings" ) // This step cleans up forwarded ports and exports the VM to an OVF. @@ -56,6 +57,7 @@ func (s *StepExport) Run(state multistep.StateBag) multistep.StepAction { command = append(command, s.ExportOpts...) ui.Say("Exporting virtual machine...") + ui.Message(fmt.Sprintf("Executing: %s", strings.Join(command, " "))) err := driver.VBoxManage(command...) if err != nil { err := fmt.Errorf("Error exporting virtual machine: %s", err)