Hi Adeel, You need to tidy up the first source VM before you create a template from this – it will most likely still have udev rules and hard coded MAC addresses still in it. This means when the first VM is created from the template the networking can’t find the NICs which were in the original VM and networking fails.
More information in http://docs.cloudstack.apache.org/projects/cloudstack-administration/en/4.9/templates.html Regards, Dag Sonstebo Cloud Architect ShapeBlue On 18/10/2017, 15:59, "Muhammad Adeel Zahid" <16030...@lums.edu.pk> wrote: Hello, I have installed apache cloudstack suite on two of my machine. First machine acts both as management server and as hypervisor (kvm). My second machine acts only as hypervisor(kvm). I first created a VM, say vm1, from centOS ISO and added some software that I need new VM's to have. I, then, created a template, say t1, from vm1 so that I can create new VMs using this template. But when I created a new VM say vm2 from t1 , it does not assume any IP address for eth0 interface. It only has loopback interface address. The reason seems to be ifcfg-eth0 file in /etc/sysconfig/network-scripsts/ directory. This file is exactly the same in vm1 and vm2 including HWADDR and UUID entries. I presume this is the reason vm2 is not being able to get an IP address. Any Suggestions? Am I doing it wrong way? Regards Adeel dag.sonst...@shapeblue.com www.shapeblue.com 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue