cloud-id - Report the canonical cloud-id for this instance
cloud-id [-h] [-j] [-l] [-i <INSTANCE_DATA>]
cloud-id is the lowercase name of the cloud datasource discovered.
The cloud-id will be 'not run' when systemd generator has not run yet. The cloud-id will be 'disabled' when cloud-init is disabled or when ds-identify did not find a valid datasource.
See cloud-init status --long for more information.
Show help message and exit
Report all standardized cloud-id information as json
Report extended cloud-id information as tab-delimited string
Path to instance-data.json file. Default is /run/cloud-init/instance-data.json
On success
Due to an error
Due to cloud-init in a disabled state. See: cloud-init status --long
The cloud-init generator and discovery has not yet run.
Copyright (C) 2021 Canonical Ltd. License GPL-3 or Apache-2.0
Full documentation at: https://cloudinit.readthedocs.io