Also, check for persistent udev rules that pin an interface name to a MAC address. If any such rules are present you should find them (on CentOS/RHEL) in /etc/udev/rules.d/70-persistent-net.rules
Regards, Matty Courtney CloudPlatform Implementation Engineer, Worldwide Cloud Services T +61 409 312 329 matty.court...@citrix.com Powering mobile work styles and cloud services On 26/11/12 4:45 AM, "Ahmad Emneina" <ahmad.emne...@citrix.com> wrote: >Hey Ivan, before creating your template try removing the MAC address from >the eth0 ifcfg file, also any uuid if present. Let us know if this works >for you. > >Ahmad > >On Nov 25, 2012, at 4:09 AM, "Ivan Rodriguez" <ivan...@gmail.com> wrote: > >> Hi All, >> >> I've been trying to create a centos template, basically what I do is >>first >> the installation, then change network parameters check that everything >>is >> working then stop >> the instance go to volumes and create the template this process will >> generate the template but when I try to use it I can see that >> cloudstack/kvm is cloning the vm >> and therefore renaming the eth0 to eth1 plus changing the mac address >>which >> is fine but I'm wondering if there is a way that when the vm is >>installed, >> has >> network right away without the need for any extra configuration, the >>Centos >> template that comes with the installation works beautiful and I'm just >> wondering what's the trick ? >> >> >> As always your help is appreciate it. >> >> This is an awesome list I've received so much help from everyone, >>thanks >> in advance >> >> Ivan