Removed call to filepath.Rel(...) in builder/vmware/iso/step_create_vmx.go

pull/2906/head
Ali Rizvi-Santiago 8 years ago
parent 4a1fb0d262
commit 46a5ca30e5

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

Loading…
Cancel
Save