vim-cmd vmsvc/get.guest command against a powered on RHEL 10.x VM or Oracle Linux 10.x VM on ESXi 8.0 U2, the guestId section will have an empty string ""Example:
(vim.vm.GuestInfo) { guestId = " ",
Example:
Linux X.X.x86_64 Red Hat Enterprise Linux 10.0
Linux X.X.x86_64 Oracle Linux Server 10.0
To workaround the empty guestId in GuestInfo, you can follow the below procedure which updates the guestid section as rhel9_64Guest for RHEL 10.x and oracleLinux9_64Guest for Oracle Linux 10.x VM
vi /etc/vmware-tools/tools.conf
RHEL 10.x:
[guestosinfo]short-name=rhel9-64
Oracle Linux 10.x
[guestosinfo]short-name=oracleLinux9-64