[Users] Set mic order on vm

Itamar Heim iheim at redhat.com
Tue Oct 23 06:41:32 UTC 2012


On 10/23/2012 08:31 AM, Mike Kolesnik wrote:
> ----- Original Message -----
>> In our setup I need to have eth0 set to a certain MAC address. When I
>> add the three nics to a new vm, nic1 is not eth0. (ovirt starts with
>> "nic1" as the first suggested name of the nic)
>>
>> Any ideas?
>
> It is the guest OS that is responsible for assigning the names of the interfaces.
> In Linux specifically it's udev that does it, so you might want to try writing a udev rule for that.
>
> Perhaps try following this guide (if it's Fedora 15+):
> https://alteeve.ca/w/Changing_Ethernet_Device_Names_in_EL7_and_Fedora_15%2B
>
> Or this guide (if it's RHEL6 or older Fedora):
> https://alteeve.ca/w/Changing_the_ethX_to_Ethernet_Device_Mapping_in_EL6_and_Fedora_12_to_14

something to consider ovirt-engine to provide the guest via the payload 
feature, so a cloud-init extension can take care of it out of the box.

>
>>
>> Thanks!
>>
>> -Bret
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>





More information about the Users mailing list