builder/vmware: accept SATA drives on root VMX
This commit is contained in:
parent
4406c20af1
commit
68fbf5c21a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue