Network issue with cloning a CentOS 6 VM

As a mentioned in previous posts I have created a simple script that would clone/configure a KVM guest based on existing templates. The scripts can be found in my github https://github.com/mrdimka/kvm-scripts . When I tried to launch a CentOS 6 VM I ve noticed that eth0 was not configured and was failing.

Continue reading

Advertisements

Centos 6 Virtual Machine custom partition layout in text mode install

I have been trying to create a simple bash script for copying/configuring KVM guests using templates.
This way I don’t need to do the whole installation over and over again.
The script would use an already KVM image file copy it to a new image file, mount it change the hostname and network settings. It would also copy the xml file remove the uuid, change its name and define it with virsh command.

Continue reading