Set output dir always according to the config.

pull/6927/head
Alexander Laamanen 9 years ago committed by Megan Marsh
parent c940f7e754
commit 2ed6c3ef5e

@ -47,9 +47,6 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
default:
dir = new(vmwcommon.LocalOutputDir)
}
if b.config.RemoteType != "" {
b.config.OutputDir = b.config.VMName
}
dir.SetOutputDir(b.config.OutputDir)
// Set up the state.

Loading…
Cancel
Save