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

NAME

6       cloud-init - Cloud instance initialization
7
8

SYNOPSIS

10       cloud-init  [-h]  [-d]  [-f  FILES]  [--force]  [-v] {init,modules,sin‐
11       gle,query,dhclient-hook,features,analyze,collect-logs,clean,status}
12
13

DESCRIPTION

15       Cloud-init provides a  mechanism  for  cloud  instance  initialization.
16       This  is done by identifying the cloud platform that is in use, reading
17       provided cloud metadata and optional vendor and  user  data,  and  then
18       initializing the instance as requested.
19
20       Generally, this command is not normally meant to be run directly by the
21       user. However, some subcommands may useful for development or debug  of
22       deployments.
23
24

OPTIONS

26       -h, --help
27              Show help message and exit
28
29
30       -d, --debug
31              Show additional pre-action logging (default: False)
32
33
34       -f <files>, --files <files>
35              Additional YAML configuration files to use
36
37
38       --force
39              Force  running  even  if no datasource is found (use at your own
40              risk)
41
42
43       -v, --version
44              Show program's version number and exit
45
46

SUBCOMMANDS

48       Please see the help output for each subcommand for additional  details,
49       flags, and subcommands.
50
51
52       analyze
53              Analyze cloud-init logs and data.
54
55
56       collect-logs
57              Collect and tar all cloud-init debug info.
58
59
60       clean  Remove logs and artifacts so cloud-init can re-run.
61
62
63       dhclient-hook
64              Run the dhclient hook to record network info.
65
66
67       features
68              List defined features.
69
70
71       init   Initializes cloud-init and performs initial modules.
72
73
74       modules
75              Activates modules using a given configuration key.
76
77
78       query  Query standardized instance metadata from the command line.
79
80
81       single Run a single module.
82
83
84       status Report cloud-init status or wait on completion.
85
86
88       Copyright (C) 2020 Canonical Ltd. License GPL-3 or Apache-2.0
89
90

SEE ALSO

92       Full documentation at: <https://cloudinit.readthedocs.io>
93
94
95
96                                                                 CLOUD-INIT(1)
Impressum