From 3a774cd5295666504dc7c460c35905eaafc19d49 Mon Sep 17 00:00:00 2001 From: Dongyu Zheng Date: Wed, 26 Oct 2016 11:37:28 -0700 Subject: [PATCH] Add ui.Say xva export location --- builder/xenserver/common/step_export.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/builder/xenserver/common/step_export.go b/builder/xenserver/common/step_export.go index e4101f7d..8fa1e645 100644 --- a/builder/xenserver/common/step_export.go +++ b/builder/xenserver/common/step_export.go @@ -111,6 +111,7 @@ func (StepExport) Run(state multistep.StateBag) multistep.StepAction { // export the VM export_filename := fmt.Sprintf("%s/%s.xva", config.OutputDir, config.VMName) + ui.Say("Exporting to: " + export_filename) use_xe := os.Getenv("USE_XE") == "1" if xe, e := exec.LookPath("xe"); e == nil && use_xe { @@ -210,6 +211,7 @@ func (StepExport) Run(state multistep.StateBag) multistep.StepAction { } disk_export_filename := fmt.Sprintf("%s/%s%s", config.OutputDir, disk_uuid, suffix) + ui.Say("Exporting to: " + disk_export_filename) ui.Say("Getting VDI " + disk_export_url) err = downloadFile(disk_export_url, disk_export_filename, ui)