builder/vmware-iso: set ovftool output path

This commit is contained in:
Matthew Hooker 2017-01-23 17:47:35 -08:00
parent 6e60f6f625
commit 56c5628205
No known key found for this signature in database
GPG Key ID: 7B5F933D9CE8C6A1
1 changed files with 1 additions and 1 deletions

View File

@ -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)