Create template of nested ESXi for cloning and repeat use
From Notes_Wiki
Home > VMWare platform > VMWare vSphere or ESXi > Create template of nested ESXi for cloning and repeat use
It is possible to setup template for ESXi for cloning. To do that use:
- Install ESXi on a VM normally
- Enable ESXi shell / console
- Connect to ESXi console (Alt+F1)
- Passing Alt+F1 from Linux is very difficult. Assign management IP and run the below commands over ssh.
- Required Enable ESXi vmkernel ports to use MAC ID from vmnic using:
- esxcli system settings advanced set -o /Net/FollowHardwareMac -i 1
- Also see Install nested ESXi on top of ESXi in a VM
- Delete UUID of system using
- sed -i 's#/system/uuid.*##' /etc/vmware/esx.conf
- Shutdown esxi host and create template
- Create ESXi clones using this template
- On each cloned ESXi host if the UUID of cloned VMFS Volume is same then use
- esxcli storage vmfs snapshot resignature -l [VMFS-VOLUME]
Refer:
Home > VMWare platform > VMWare vSphere or ESXi > Create template of nested ESXi for cloning and repeat use