create export directories for vmx and ovf file types, too.
This commit is contained in:
parent
c3bf014b5f
commit
e5c4a4a6fb
|
@ -74,9 +74,7 @@ func (s *StepExport) Run(_ context.Context, state multistep.StateBag) multistep.
|
||||||
s.OutputDir = s.VMName + "." + s.Format
|
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...")
|
ui.Say("Exporting virtual machine...")
|
||||||
var displayName string
|
var displayName string
|
||||||
|
|
Loading…
Reference in New Issue