Skip to content

Commit 1673b23

Browse files
committed
feat: add reboot after host configuration
Once the host is configured for all of our settings to take effect we need to reboot the machine.
1 parent 02483ae commit 1673b23

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
logger -s -t esxi-netinit "Triggering reboot in 20 seconds"
2+
/bin/loadESXEnable -e && /usr/lib/vmware/loadesx/bin/loadESX.py || true
3+
esxcli system shutdown reboot -d 20 -r "rebooting ESXi after host config"

0 commit comments

Comments
 (0)