I'd like to set a dhcp option 77 string value in vsphere as a config parameter on a vm or vm template so that the vNIC ROM (e1000/vmxnet3) uses it during the DHCP part of PXE.
My goal is to have PXE booting nodes self identify using a dhcp option 77 string that I set, which then gets matched to a ISC dhcpd class which in turn provides specific settings during dhcp for that node. eg) dhcp opt 77 string value "foonode" maps to a dhcpd config class which sets a specific next-server.
I see that you can do this using iPXE as an optional boot rom for vmware (see here: http://ipxe.org/cfg/user-class and here: http://ipxe.org/howto/vmware), but I'd ideally like to do this by setting a configuration parameter for machines doing PXE using the normal vmware vNIC (e1000/vmxnet3) boot roms.
In a perfect world I could set these via the vsphere API.