Merge pull request #6985 from hashicorp/fix_6860

create export directories for vmx and ovf file types, too.
pull/6990/head
Adrien Delorme 8 years ago committed by GitHub
commit 559aa5d5c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save