1CLOUD-ID(1)                 General Commands Manual                CLOUD-ID(1)
2
3
4

NAME

6       cloud-id - Report the canonical cloud-id for this instance
7
8

SYNOPSIS

10       cloud-id [-h] [-j] [-l] [-i <INSTANCE_DATA>]
11
12

DESCRIPTION

14       cloud-id is the lowercase name of the cloud datasource discovered.
15
16       The  cloud-id will be 'not run' when systemd generator has not run yet.
17       The cloud-id will be 'disabled' when cloud-init is disabled or when ds-
18       identify did not find a valid datasource.
19
20       See cloud-init status --long for more information.
21
22

OPTIONS

24       -h, --help
25              Show help message and exit
26
27
28       -j, --json
29              Report all standardized cloud-id information as json
30
31
32       -l, --long
33              Report extended cloud-id information as tab-delimited string
34
35
36       -i <data>, --instance-data <data>
37              Path  to instance-data.json file. Default is /run/cloud-init/in‐
38              stance-data.json
39
40

EXIT STATUS

42       0      On success
43
44       1      Due to an error
45
46       2      Due to cloud-init in a disabled state.  See:  cloud-init  status
47              --long
48
49       3      The cloud-init generator and discovery has not yet run.
50
51
53       Copyright (C) 2021 Canonical Ltd. License GPL-3 or Apache-2.0
54
55

SEE ALSO

57       Full documentation at: <https://cloudinit.readthedocs.io>
58
59
60
61                                                                   CLOUD-ID(1)
Impressum