thevirtualist.org
Execute ESXCLI commands during ESXi startup - The Virtualist
Apparently to have esxcli commands working, you have to have hostd running. However this is not the case during local.sh execution
Dusan Tekeljak