From e5c4a4a6fb9af765bfa1658ddf914453f243a076 Mon Sep 17 00:00:00 2001 From: Megan Marsh Date: Fri, 9 Nov 2018 11:45:36 -0800 Subject: [PATCH] create export directories for vmx and ovf file types, too. --- builder/vmware/common/step_export.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/builder/vmware/common/step_export.go b/builder/vmware/common/step_export.go index 173de488b..a475c7cd3 100644 --- a/builder/vmware/common/step_export.go +++ b/builder/vmware/common/step_export.go @@ -74,9 +74,7 @@ func (s *StepExport) Run(_ context.Context, state multistep.StateBag) multistep. s.OutputDir = s.VMName + "." + s.Format } - if s.Format == "ova" { - os.MkdirAll(s.OutputDir, 0755) - } + os.MkdirAll(s.OutputDir, 0755) ui.Say("Exporting virtual machine...") var displayName string