builder/vmware-iso: do not append to output dir, as ovftool does that

pull/4592/head
Jimmy The Dog 9 years ago
parent 14810523b8
commit ce41055ac6

@ -8,7 +8,6 @@ import (
"net/url"
"os"
"os/exec"
"path/filepath"
"runtime"
"strings"
)
@ -60,7 +59,7 @@ func (s *StepExport) Run(state multistep.StateBag) multistep.StepAction {
// Export the VM
localDir := state.Get("localDir").(localOutputDir)
outputPath := filepath.Join(localDir.dir, c.VMName+"."+s.Format)
outputPath := localDir.dir
if s.Format == "ova" {
os.MkdirAll(outputPath, 0755)

Loading…
Cancel
Save