ESXi 6.7 provides many options for using PXE to boot the installer and using an installation or upgrade script.