<div dir="ltr"><div><div><div><div><div>Hi All,<br><br></div>Trying to add a nic to a vm with a specific mac address. <br><br>[oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name backend --name eth4 --mac-address HH:HH:EE:HH:HH:01<br>
<br> ======== ERROR =============================<br> status: 400<br> reason: Bad Request<br> detail: MAC address must be in format "HH:HH:HH:HH:HH:HH" where H is a hexadecimal character (either a digit or A-F, case is insignificant).<br>
=============================================<br><br></div><br></div>Also interesting is when I change the beginning of the mac address to 00 instead of HH, I get :<br><br>[oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name backend --name eth4 --mac-address 01:HH:EE:HH:HH:01<br>
============================================ ERROR ==========================================<br> wrong number of arguments, try 'help add' for help.<br> =============================================================================================<br>
<br><br><br></div>I have tried some things like enclosing in single and double quotes but no success. <br><br></div><div>I have also tried to read the help sections on the shell interface but I also could not figure it out.<br>
<br>Thanks in advance,<br></div><div><div><div><div><br></div></div></div></div></div>