Excellent, thanks for the quick reply guys.
[oVirt shell (connected)]# add nic --vm-identifier ov31 --network-name
backend --name eth5 --mac-address '00:1a:4a:f3:43:be'
id : 1d6f963c-3fee-48ac-88cd-963055666bb8
name : eth5
active : True
interface : virtio
linked : True
mac-address : 00:1a:4a:f3:43:be
network-id : 06b43265-4bfa-4a63-a9cc-3e5af9ad8493
plugged : True
vm-id : 54d5deb2-0547-4a1e-8657-1fc8e1fe61e7
vnic_profile-id: 12b9a3fe-cad3-4ca8-8212-a936df966012
I am trying to automate 100 vm creations so... If anyone has a good guide
that exists I would be very appreciative, otherwise I will keep tipping
away :)
On Thu, Jul 10, 2014 at 4:28 PM, Sven Kieske <S.Kieske(a)mittwald.de> wrote:
Am 10.07.2014 16:07, schrieb Steve Kilduff:
> 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
afaik you just need to put "" around your mac, but I'm not 100% sure.
I seem to have deleted the code where I stumbled across the
same problem :(
Adding Juan who should be able answer this.
--
Mit freundlichen Grüßen / Regards
Sven Kieske
Systemadministrator
Mittwald CM Service GmbH & Co. KG
Königsberger Straße 6
32339 Espelkamp
T: +49-5772-293-100
F: +49-5772-293-333
https://www.mittwald.de
Geschäftsführer: Robert Meyer
St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen
Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
_______________________________________________
Users mailing list
Users(a)ovirt.org
http://lists.ovirt.org/mailman/listinfo/users