From 2ed6c3ef5efa4895a1b94dedd3ca2f915193c584 Mon Sep 17 00:00:00 2001 From: Alexander Laamanen Date: Thu, 23 Feb 2017 22:08:57 +0200 Subject: [PATCH] Set output dir always according to the config. --- builder/vmware/vmx/builder.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/builder/vmware/vmx/builder.go b/builder/vmware/vmx/builder.go index 260099657..b63216318 100644 --- a/builder/vmware/vmx/builder.go +++ b/builder/vmware/vmx/builder.go @@ -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.