builder/vmware-iso: get artifact files from local dir

This commit is contained in:
Jimmy The Dog 2017-02-24 14:48:38 +00:00
parent 7a2b30dcc4
commit 14810523b8
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
var files []string
if b.config.RemoteType != "" && b.config.Format != "" {
dir = new(vmwcommon.LocalOutputDir)
dir.SetOutputDir(b.config.OutputDir)
dir.SetOutputDir(localDir.dir)
files, err = dir.ListFiles()
} else {
files, err = state.Get("dir").(OutputDir).ListFiles()