Hi!
I can use ip and can'5 use hostname in hostctl command as blow:
$ hostctl guestinfo.ip
172.16.100.131
$ hostctl guestinfo.hostname
hostctl: ioctl: Invalid argument
man hostctl has the forrowing description:
EXAMPLES
The vmt(4) driver provides access to the ``guestinfo''
information that
is available in VMware virtual machines:
# hostctl guestinfo.hostname
vm-111.example.com
# hostctl guestinfo.ip 192.168.100.111
Is hostname no longer available due to a change in VMware version?
I use following system:
$ sysctl kern.version
kern.version=OpenBSD 7.1 (GENERIC) #443: Mon Apr 11 17:55:15 MDT 2022
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
VMware Fusion 12.2.4 (20071091)
Thank you.
--
ASOU Masato