This article provides information on how to install OS X 10.10/10.11 or macOS 10.12/10.13/10.14/10.15/11/12 on ESXi.
Fresh installation does not work on ESXi for OS X 10.10/10.11 or macOS 10.12/10.13/10.14/10.15/11/12
It fails to load OS X or macOS installing process correctly using "OS X 10.10/10.11 or macOS 10.12/10.13/10.14/10.15/11/12" installer file