This is to help determine the current running Photon OS build in vSphere products. This is helpful for various reasons including trying to determine if a vSphere product is running a Photon OS build that may be affected by a CVE (Common Vulnerabilities and Exposures).
From CLI of Photon OS find the version and build with below commands.
vpxd -v (confirm build of vSphere running)
cat /etc/photon-release (view Photon OS base version originally running from when vSphere deployed)
Same with command “cat /etc/os-release”
uname -r (view build of Photon OS running)
Example:
VCSA build: 8.0 U3h (25092719)
Photon OS originally installed: 4.0
Running Photon OS build: 5.10.245-1.ph4 (later than the "resolved" version)
Example:
From drop down on left:
vSphere 7 uses version 4.x.
VCF 9 uses version 6.x.