
31 Jul
2013
31 Jul
'13
4:44 p.m.
gregoire.leroy@retenodus.net wrote:
I have an ovirt cluster which runs CentOS VM. I have a template to create VM. On this template, there are two interfaces, eth0 and eth1. When I create a VM using this template, the new interfaces are named eth2 and eth3. It can be pretty annoying and I would like to know if it would be possible to always start by eth0 ?
If I remember the discussion on IRC, it would be necessary to clean old udev rules (in centos it seems to be /etc/udev/rules.d/70-persistent-net.rules) Just use sys-unconfig which will wipe all machine specific data, like network/root pw/ and then make it into a template. On each clone the machine will need network/root pw/ etc.
Joop