From 46a5ca30e5823e5b0c9cbdfafc9ca85da06b14d5 Mon Sep 17 00:00:00 2001 From: Ali Rizvi-Santiago Date: Sat, 6 Jan 2018 19:51:11 -0600 Subject: [PATCH] Removed call to filepath.Rel(...) in builder/vmware/iso/step_create_vmx.go --- builder/vmware/iso/step_create_vmx.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/builder/vmware/iso/step_create_vmx.go b/builder/vmware/iso/step_create_vmx.go index 292a6a6e7..1f4ee812f 100644 --- a/builder/vmware/iso/step_create_vmx.go +++ b/builder/vmware/iso/step_create_vmx.go @@ -43,11 +43,6 @@ func (s *stepCreateVMX) Run(state multistep.StateBag) multistep.StepAction { isoPath := state.Get("iso_path").(string) ui := state.Get("ui").(packer.Ui) - // Convert the iso_path into a path relative to the .vmx file if possible - if relativeIsoPath, err := filepath.Abs(config.VMXTemplatePath, filepath.FromSlash(isoPath)); err == nil { - isoPath = relativeIsoPath - } - ui.Say("Building and writing VMX file") vmxTemplate := DefaultVMXTemplate