Infrastruktur & Datenbanktechnologie1.08.2023Tom Lieber

master_clone_refreshable.png

Clone VM in ESXi

  1. Make your Template VM
  2. Copy on Filesystem

Clone_VM_in_ESXi.png

Thats the way to-go with ESXi

Clone_VM_in_ESXi_2.png

Copy it

Enter a new directory name .. and wait until its ready..
As you can see, my template name was not the best idea tomdg01 😉

Clone_VM_in_ESXi_3.png

Register the VM

Now Change the Name in ESXi

here from tomdg01 VM-Name to tomdg02

Clone_VM_in_ESXi_4.png

Now you can Start the VM – ESXi will ask you – is this a copy- please say yes here.

With your favourit tool to connect , start ssh too your Template VM IP
Now change the IP+Hostname:

vi /etc/hostname – rename host
vi /etc/hosts – change ip
vi /etc/sysconfig/network-scripts/ifcfg-* – change ip

Restart and be Happy