1CLOUD-INIT(1) General Commands Manual CLOUD-INIT(1)
2
3
4
6 cloud-init - Cloud instance initialization
7
8
10 cloud-init [-h] [-d] [-f FILES] [--force] [-v] [SUBCOMMAND]
11
12
14 Cloud-init provides a mechanism for cloud instance initialization.
15 This is done by identifying the cloud platform that is in use, reading
16 provided cloud metadata and optional vendor and user data, and then
17 initializing the instance as requested.
18
19 Generally, this command is not normally meant to be run directly by the
20 user. However, some subcommands may useful for development or debug of
21 deployments.
22
23
25 -h, --help
26 Show help message and exit.
27
28
29 -d, --debug
30 Show additional pre-action logging (default: False).
31
32
33 -f <files>, --files <files>
34 Use additional YAML configuration files.
35
36
37 --force
38 Force running even if no datasource is found (use at your own
39 risk).
40
41
42 -v, --version
43 Show program's version number and exit.
44
45
47 Please see the help output for each subcommand for additional details,
48 flags, and subcommands.
49
50
51 analyze
52 Analyze cloud-init logs and data.
53
54
55 collect-logs
56 Collect and tar all cloud-init debug info.
57
58
59 clean Remove logs and artifacts so cloud-init can re-run.
60
61
62 devel Run development tools. See help output for subcommand details.
63
64
65 features
66 List defined features.
67
68
69 init Initialize cloud-init and execute initial modules.
70
71
72 modules
73 Activate modules using a given configuration key.
74
75
76 query Query standardized instance metadata from the command line.
77
78
79 schema Validate cloud-config files using jsonschema.
80
81
82 single Run a single module.
83
84
85 status Report cloud-init status or wait on completion.
86
87
89 Copyright (C) 2020 Canonical Ltd. License GPL-3 or Apache-2.0
90
91
93 Full documentation at: <https://cloudinit.readthedocs.io>
94
95
96
97 CLOUD-INIT(1)