This article provides information on how to modify the rc.local or local.sh files to execute commands in VMware vSphere ESXi during the boot process. This process differs depending on the version of ESXi used.
Note: due to the security hardening of the secure boot (UEFI) these options are not available.
#!/bin/sh #!/bin/sh # local configuration options # Note: modify at your own risk! If you do/use anything in this # script that is not part of a stable API (relying on files to be in # specific places, specific tools, specific output, etc) there is a # possibility you will end up with a broken system after patching or # upgrading. Changes are not supported unless under direction of # VMware support. # Note: This script will not be run when UEFI secure boot is enabled. esxcli network nic pauseParams set -n vmnic5 -a true exit 0