Skip to content

Instantly share code, notes, and snippets.

@ziozzang
Created January 22, 2018 01:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ziozzang/31f596a4629778306db7b85f4466f0c1 to your computer and use it in GitHub Desktop.
Save ziozzang/31f596a4629778306db7b85f4466f0c1 to your computer and use it in GitHub Desktop.
Automated ESXi Trial Reset
echo "0 2 * * * rm -r /etc/vmware/license.cfg && cp /etc/vmware/.#license.cfg /etc/vmware/license.cfg && /etc/init.d/vpxa restart" >> /var/spool/cron/crontabs/root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment