Set output dir always according to the config.
This commit is contained in:
parent
c940f7e754
commit
2ed6c3ef5e
|
@ -47,9 +47,6 @@ func (b *Builder) Run(ui packer.Ui, hook packer.Hook, cache packer.Cache) (packe
|
||||||
default:
|
default:
|
||||||
dir = new(vmwcommon.LocalOutputDir)
|
dir = new(vmwcommon.LocalOutputDir)
|
||||||
}
|
}
|
||||||
if b.config.RemoteType != "" {
|
|
||||||
b.config.OutputDir = b.config.VMName
|
|
||||||
}
|
|
||||||
dir.SetOutputDir(b.config.OutputDir)
|
dir.SetOutputDir(b.config.OutputDir)
|
||||||
|
|
||||||
// Set up the state.
|
// Set up the state.
|
||||||
|
|
Loading…
Reference in New Issue