How to enable nested virtualization on ESXi server to install ESXi server on vm
step :1 login ESXi using putty
step :2 Navigate following location
cd /vmfs/volumes/datastore name/vmname
step :3 using vi editor to open vmx file
vi vmname.vmx
step :4 press i key and update below two lines
vhv.enable = "TRUE"
hypervisor.cpuid.v0 = "FALSE"
step :5 for save and exit
:wq