No need for vCenterServer! Just log in to ur esxi host, run the script and n-joy!
-
Automatically copy and register VMs in ESXi 6.5
- Log in to ur ESXi host using SSH:
ssh root@ipaddr -p port
- Copy and paste 2 files:
copy_n_register_vms.sh
andlifesaver.py
to the default directory with your VM u want to copy (default is/vmfs/volumes/volumename/
) - Run the script:
./copy_n_register_vms.sh vmname num_of_copies snapshotnumber
- Log in to ur ESXi host using SSH: