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 dhclient-hook
66 Run the dhclient hook to record network info.
67
68
69 features
70 List defined features.
71
72
73 init Initialize cloud-init and execute initial modules.
74
75
76 modules
77 Activate modules using a given configuration key.
78
79
80 query Query standardized instance metadata from the command line.
81
82
83 schema Validate cloud-config files using jsonschema.
84
85
86 single Run a single module.
87
88
89 status Report cloud-init status or wait on completion.
90
91
93 Copyright (C) 2020 Canonical Ltd. License GPL-3 or Apache-2.0
94
95
97 Full documentation at: <https://cloudinit.readthedocs.io>
98
99
100
101 CLOUD-INIT(1)