From 56c56282058c748f2a748718c35a11c93370dcbb Mon Sep 17 00:00:00 2001 From: Matthew Hooker Date: Mon, 23 Jan 2017 17:47:35 -0800 Subject: [PATCH] builder/vmware-iso: set ovftool output path --- builder/vmware/iso/step_export.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/vmware/iso/step_export.go b/builder/vmware/iso/step_export.go index 974c89852..13f5cf77f 100644 --- a/builder/vmware/iso/step_export.go +++ b/builder/vmware/iso/step_export.go @@ -59,7 +59,7 @@ func (s *StepExport) Run(state multistep.StateBag) multistep.StepAction { } // Export the VM - outputPath := filepath.Join(c.VMName, c.VMName+"."+s.Format) + outputPath := filepath.Join(c.OutputDir, c.VMName+"."+s.Format) if s.Format == "ova" { os.MkdirAll(outputPath, 0755)