2023-09-27 02:19:50 | System hostname is: photon-machine
2023-09-27 02:19:50 | [ERROR] Hostname was not updated via dns reverse-lookup. Failing OS configuration phase.
2023-09-27 02:19:50 | [ERROR] Fix and verify DNS server info and other related networking settings, and redeploy this appliance again.
This behavior is because hostname is set by reverse-lookup before the static route is set. As a result, the hostname of this VM is set to "photon-machine" and this name cannot be resolved.
This is expected behavior during the installation of VMware Cloud Director appliances.
Please see theĀ Host Name Resolution section in the Cloud Director documentation on Network Configuration Requirements for VMware Cloud Director for more details.
In the initialization steps, DNS server should be reached via the default route. After this, you can change DNS and route configurations of VMware Cloud Director appliances.