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

This commit is contained in:
Ali Rizvi-Santiago 2018-01-06 19:51:11 -06:00
parent 4a1fb0d262
commit 46a5ca30e5
1 changed files with 0 additions and 5 deletions

View File

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