I’ve prepared a Photon micro image as a VSphere Template. I use this to get a tiny Linux host for hosting Docker.
Default password for root is “changeme” and must be changes when logging in the first time.
Photon OS uses the contents of /etc/machine-id to determine the DHCP unique identifier (duid) that is used for DHCP requests. If you use a Photon OS instance as the base system for cloning to create additional Photon OS instances, you should clear the machine-id with this command:
echo -n > /etc/machine-id
With the value cleared, systemd regenerates the machine-id and, as a result, all DHCP requests will contain a unique duid.
tdnf install nano
mv /etc/systemd/network/99-dhcp-eth0.network /etc/systemd/network/99-static-en.network
tdnf upgrade docker -y
systemctl start docker
reboot the system