Merge pull request #685 from veshi/master

builder/vmware: trivial bug fix in mechanism to clean installation ISOs for VMware build...
pull/667/merge
Mitchell Hashimoto 13 years ago
commit 0b0cada619

@ -55,12 +55,12 @@ func (s stepCleanVMX) Run(state multistep.StateBag) multistep.StepAction {
continue
}
filenameKey := match + ".filename"
filenameKey := match + "filename"
if filename, ok := vmxData[filenameKey]; ok {
if filename == isoPath {
// Change the CD-ROM device back to auto-detect to eject
vmxData[filenameKey] = "auto detect"
vmxData[match+".devicetype"] = "cdrom-raw"
vmxData[match+"devicetype"] = "cdrom-raw"
}
}
}

Loading…
Cancel
Save