Returns just the value stored under v1.local_hostname, the dotted path into the instance-data JSON tree. Useful in scripts that need the machine's cloud-assigned hostname. Related: cloud-init query -a.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.