ESXi run busybox so you would need to use:
You could dump the script anywhere, maybe a shared datastore which remains available for all hosts?
You can add the commands to /etc/rc.local.d/local.sh
This file is executed at the end of the boot process and is persistent between reboots.
> You can add the commands to /etc/rc.local.d/local.sh
That makes no sense as he probably does not want to re-run those commands after every reboot.
Also it is way easier to just store the command on a normal datastore and launch it via a putty session.
Hi. Thank you everyone! Thanks,,,