Have anyone tried to load the scripts to load while booting on ESX 8.0 as mention in KB ttps://kb.vmware.com/s/article/2043564
Does your host use UEFI boot or legacy BIOS booting?
If you are using UEFI I would draw your attention to the note at the end of the comment block in the default local.sh script:
# Note: This script will not be run when UEFI secure boot is enabled.
Yes,I'm not going to use secure boot for ESX to boot.
Then it does not look like it is going to work. Not least of all because the article you linked doesn't support versions of ESXi beyond 7.0.0.