Clone a Linux VM
I want to make a template of a Linux build that I can use repeatedly without re-installing the OS.
Is it correct to say the only steps I generally need to do is to 1) Update the IP addresses & network configuration (if its static) 2) Change the host name I installed LVM, and I noticed the drive name is now mapped as /dev/mapping/servername-partition, which doesn't change even after I change the host name. I'd think I can just rename these partitions, or am I better off not using LVM at all? |
Cloning process of linux VM will create image of existing setup. It will clone each and every thing from existing setup. So you need to take care in case of static IP address/hostname. Because this information is very important if you are running any SSL based appliactions on your setup.
You can rename partitions after created them using cloned image. It is not recommended to convert LVM based partitions to static partitions if it is deployed under root partition. |
|
Quote:
Unlike Windows where properly to make a template you'd need to sysprep the box before cloning to have it cover all the hidden crap that needs to be altered for cloning, I like being able to just clone the whole VM (VMWare automatically changes the MAC), and update the hostname & networking settings (don't even have to do the latter if I'm using DHCP. |
All times are GMT -5. The time now is 06:00 AM. |