Commit 68fbf5c2 authored by John Deatherage's avatar John Deatherage

builder/vmware: accept SATA drives on root VMX

parent 4406c20a
......@@ -44,6 +44,9 @@ func (s *StepCloneVMX) Run(state multistep.StateBag) multistep.StepAction {
if _, ok := vmxData["sata0:0.filename"]; ok {
diskName = vmxData["sata0:0.filename"]
}
if _, ok := vmxData["ide0:0.filename"]; ok {
diskName = vmxData["ide0:0.filename"]
}
if diskName == "" {
err := fmt.Errorf("Root disk filename could not be found!")
state.Put("error", err)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment