Reset ESXi 6 Evaluation License
Reset ESXi 6 Evaluation License Note: Running these commands will cause ESXi to appear offline/down. For example, my UPS virtual machine connected to my actual UPS began shutting down VMs because it believed ESXi ran into a problem. Shut down those VMs firstly before running this command then bring them back up later. Turn on SSH and log in to the host. Remove the current license rm -r /etc/vmware/license.cfg Copy over the new evaluation license, which is already on the host cp /etc/vmware/.#license.cfg /etc/vmware/license.cfg Restart ESXi services /etc/init.d/vpxa restart Confirm the new license Automatic Script The commands above can be run automatic to keep your ESXi license reset on a set schedule using cron. I have also created a script which powers off and on a VM of your choice (such as a UPS agent) in case it shuts down the host. First create the script (reset-eval.sh) somewhere accessible to ESXi. I chose to put in my ZFS0 datastore (/vmfs/volumes/ZFS0/reset.eval) #!/bin/sh #...