builder/vmware-iso: set ovftool output path
This commit is contained in:
parent
6e60f6f625
commit
56c5628205
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue