[ovirt-users] ovirt-shell

Steve Kilduff redrocketed at gmail.com
Thu Jul 10 10:07:09 EDT 2014


Hi All,

Trying to add a nic to a vm with a specific mac address.

[oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name
backend --name eth4 --mac-address HH:HH:EE:HH:HH:01

  ======== ERROR =============================
  status: 400
  reason: Bad Request
  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).
  =============================================


Also interesting is when I change the beginning of the mac address to 00
instead of HH, I get :

[oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name
backend --name eth4 --mac-address 01:HH:EE:HH:HH:01
  ============================================ ERROR
==========================================
                       wrong number of arguments, try 'help add' for help.

=============================================================================================



I have tried some things like enclosing in single and double quotes but no
success.

I have also tried to read the help sections on the shell interface but I
also could not figure it out.

Thanks in advance,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20140710/145185be/attachment-0001.html>


More information about the Users mailing list