Removed call to filepath.Rel(...) in builder/vmware/iso/step_create_vmx.go
This commit is contained in:
parent
4a1fb0d262
commit
46a5ca30e5
|
@ -43,11 +43,6 @@ func (s *stepCreateVMX) Run(state multistep.StateBag) multistep.StepAction {
|
||||||
isoPath := state.Get("iso_path").(string)
|
isoPath := state.Get("iso_path").(string)
|
||||||
ui := state.Get("ui").(packer.Ui)
|
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")
|
ui.Say("Building and writing VMX file")
|
||||||
|
|
||||||
vmxTemplate := DefaultVMXTemplate
|
vmxTemplate := DefaultVMXTemplate
|
||||||
|
|
Loading…
Reference in New Issue