Merge pull request #6985 from hashicorp/fix_6860
create export directories for vmx and ovf file types, too.
This commit is contained in:
commit
559aa5d5c8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue