Reset ESXI Evaluation Mode Licensing: Difference between revisions
(Created page with "I'm trying to learn as much as I can about ESXI, without having to worry about license limits or restrictions, but I don't want my VMs to drop dead either. I found [https://le...") |
No edit summary |
||
Line 3: | Line 3: | ||
Create a Shell Script at /usr/local/bin and make it executable | Create a Shell Script at /usr/local/bin and make it executable | ||
<pre>vi /usr | <pre>vi /usr/bin/resetesxi.sh</pre> | ||
Include the following: | Include the following: | ||
Line 14: | Line 14: | ||
Do a chgmod to make it executable | Do a chgmod to make it executable | ||
<pre>chmod /usr | <pre>chmod /usr/bin/resetesxi.sh</pre> | ||
Add it to cron: | Add it to cron: |
Revision as of 16:30, 7 September 2019
I'm trying to learn as much as I can about ESXI, without having to worry about license limits or restrictions, but I don't want my VMs to drop dead either. I found this page that describes how you can reset the evaluation mode with minimal server interruption.
Create a Shell Script at /usr/local/bin and make it executable
vi /usr/bin/resetesxi.sh
Include the following:
rm -r /etc/vmware/license.cfg cp /etc/vmware/.#license.cfg /etc/vmware/license.cfg /etc/init.d/vpxa restart
Do a chgmod to make it executable
chmod /usr/bin/resetesxi.sh
Add it to cron:
vi /var/spool/cron/crontabs/root
And add the following: