CCI-MOC / m2

Bare Metal Imaging (Malleable Metal as a Service)
18 stars 16 forks source link

BMI always gets the mac address of the first nic, irrespective of what you specify on the command line #169

Closed naved001 closed 6 years ago

naved001 commented 6 years ago

https://github.com/CCI-MOC/ims/blob/master/ims/einstein/hil.py#L124

This should have been searching the right nic by using the label entered at the CLI.

I have already opened another issue to update the HIL code here to use the client library rather than the API directly. So doing that cleanly will also fix this issue.

Or we might just get rid of the nic label parameter and ask the user to enter the mac address directly (I think this is somewhere in the design docs).

Thanks @mihirborkar for finding this out.