Set output dir always according to the config.

This commit is contained in:
Alexander Laamanen 2017-02-23 22:08:57 +02:00 committed by Megan Marsh
parent c940f7e754
commit 2ed6c3ef5e
1 changed files with 0 additions and 3 deletions

View File

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