Official Mirror of Cloud-init: the defacto multi-distribution package that handles early initialization of a cloud instance
Switch branches/tags
ubuntu/18.3-46-gbb60f61b-0ubuntu1 ubuntu/18.3-44-g84bf2482-0ubuntu1 ubuntu/18.3-39-g757247f9-0ubuntu1 ubuntu/18.3-38-gd47d404e-0ubuntu1 ubuntu/18.3-35-g3f6d0972-0ubuntu1 ubuntu/18.3-29-gdab59087-0ubuntu1 ubuntu/18.3-24-gf6249277-0ubuntu1 ubuntu/18.3-18-g3cee0bf8-0ubuntu1 ubuntu/18.3-9-g2e62cb8a-0ubuntu1_18.04.2 ubuntu/18.3-9-g2e62cb8a-0ubuntu1_18.04.1 ubuntu/18.3-9-g2e62cb8a-0ubuntu1_17.10.1 ubuntu/18.3-9-g2e62cb8a-0ubuntu1_16.04.2 ubuntu/18.3-9-g2e62cb8a-0ubuntu1_16.04.1 ubuntu/18.3-9-g2e62cb8a-0ubuntu1 ubuntu/18.3-0ubuntu1_18.04.1 ubuntu/18.3-0ubuntu1_17.10.1 ubuntu/18.3-0ubuntu1_16.04.1 ubuntu/18.3-0ubuntu1 ubuntu/18.2-77-g4ce67201-0ubuntu1 ubuntu/18.2-64-gbbcc5e82-0ubuntu1 ubuntu/18.2-59-gcd1de5f4-0ubuntu1 ubuntu/18.2-41-g3b712fce-0ubuntu1 ubuntu/18.2-27-g6ef92c98-0ubuntu1_18.04.1 ubuntu/18.2-27-g6ef92c98-0ubuntu1 ubuntu/18.2-14-g6d48d265-0ubuntu1 ubuntu/18.2-9-g49b562c9-0ubuntu1 ubuntu/18.2-4-g05926e48-0ubuntu2 ubuntu/18.2-4-g05926e48-0ubuntu1_17.10.2 ubuntu/18.2-4-g05926e48-0ubuntu1_17.10.1 ubuntu/18.2-4-g05926e48-0ubuntu1_16.04.2 ubuntu/18.2-4-g05926e48-0ubuntu1_16.04.1 ubuntu/18.2-4-g05926e48-0ubuntu1 ubuntu/18.2-0ubuntu1_17.10.1 ubuntu/18.2-0ubuntu1_16.04.1 ubuntu/18.2-0ubuntu1 ubuntu/18.1-35-ge0f644b7-0ubuntu2 ubuntu/18.1-35-ge0f644b7-0ubuntu1 ubuntu/18.1-26-g685f9901-0ubuntu1 ubuntu/18.1-23-gde34dc7c-0ubuntu1 ubuntu/18.1-17-g97012fbb-0ubuntu1 ubuntu/18.1-5-g40e77380-0ubuntu1 ubuntu/18.1-0ubuntu1 ubuntu/17.2-35-gf576b2a2-0ubuntu1_17.10.1 ubuntu/17.2-35-gf576b2a2-0ubuntu1_16.04.2 ubuntu/17.2-35-gf576b2a2-0ubuntu1_16.04.1 ubuntu/17.2-34-g644048e3-0ubuntu1 ubuntu/17.2-30-gf7deaf15-0ubuntu1_17.10.1 ubuntu/17.2-30-gf7deaf15-0ubuntu1_16.04.1 ubuntu/17.2-30-gf7deaf15-0ubuntu1 ubuntu/17.2-25-gc03bdd3d-0ubuntu1 ubuntu/17.2-20-g32a6a176-0ubuntu1 ubuntu/17.2-13-g6299e8d0-0ubuntu1 ubuntu/17.2-9-gdf24daa8-0ubuntu1 ubuntu/17.2-1-g4089e20c-0ubuntu1 ubuntu/17.1-60-ga30a3bb5-0ubuntu1 ubuntu/17.1-58-g703241a3-0ubuntu1 ubuntu/17.1-53-ga5dc0f42-0ubuntu1 ubuntu/17.1-51-g05b2308a-0ubuntu1 ubuntu/17.1-46-g7acc9e68-0ubuntu1_17.10.1 ubuntu/17.1-46-g7acc9e68-0ubuntu1_17.04.1 ubuntu/17.1-46-g7acc9e68-0ubuntu1_16.04.1 ubuntu/17.1-46-g7acc9e68-0ubuntu1 ubuntu/17.1-41-g76243487-0ubuntu1_17.10.1 ubuntu/17.1-41-g76243487-0ubuntu1_17.04.1 ubuntu/17.1-41-g76243487-0ubuntu1_16.04.1 ubuntu/17.1-41-g76243487-0ubuntu1 ubuntu/17.1-27-geb292c18-0ubuntu1_17.10.1 ubuntu/17.1-27-geb292c18-0ubuntu1_17.04.1 ubuntu/17.1-27-geb292c18-0ubuntu1_16.04.1 ubuntu/17.1-27-geb292c18-0ubuntu1 ubuntu/17.1-25-g17a15f9e-0ubuntu1_17.10.1 ubuntu/17.1-25-g17a15f9e-0ubuntu1_17.04.1 ubuntu/17.1-25-g17a15f9e-0ubuntu1_16.04.1 ubuntu/17.1-25-g17a15f9e-0ubuntu1 ubuntu/17.1-18-gd4f70470-0ubuntu1_17.04.2 ubuntu/17.1-18-gd4f70470-0ubuntu1_17.04.1 ubuntu/17.1-18-gd4f70470-0ubuntu1_16.04.2 ubuntu/17.1-18-gd4f70470-0ubuntu1_16.04.1 ubuntu/17.1-18-gd4f70470-0ubuntu1 ubuntu/17.1-17-g45d361cb-0ubuntu1_17.04.1 ubuntu/17.1-17-g45d361cb-0ubuntu1_16.04.1 ubuntu/17.1-17-g45d361cb-0ubuntu1 ubuntu/17.1-13-g7fd04255-0ubuntu1 ubuntu/17.1-0ubuntu1 ubuntu/0.7.9-283-g7eb3460b-0ubuntu1 ubuntu/0.7.9-281-g10f067d8-0ubuntu1 ubuntu/0.7.9-280-ge626966e-0ubuntu1 ubuntu/0.7.9-267-g922c3c5c-0ubuntu1 ubuntu/0.7.9-259-g7e76c57b-0ubuntu1 ubuntu/0.7.9-243-ge74d775-0ubuntu1 ubuntu/0.7.9-233-ge586fe35-0ubuntu1_17.04.2 ubuntu/0.7.9-233-ge586fe35-0ubuntu1_17.04.1 ubuntu/0.7.9-233-ge586fe35-0ubuntu1_16.04.2 ubuntu/0.7.9-233-ge586fe35-0ubuntu1_16.04.1 ubuntu/0.7.9-231-g80bf98b9-0ubuntu1 ubuntu/0.7.9-221-g7e41b2a7-0ubuntu3 ubuntu/0.7.9-221-g7e41b2a7-0ubuntu2 ubuntu/0.7.9-221-g7e41b2a7-0ubuntu1 ubuntu/0.7.9-212-g865e941f-0ubuntu1 ubuntu/0.7.9-210-ge80517ae-0ubuntu1
Nothing to show
Clone or download
blackboxsw and Server Team CI Bot cli: add cloud-init query subcommand to query instance metadata
Cloud-init caches any cloud metadata crawled during boot in the file
/run/cloud-init/instance-data.json. Cloud-init also standardizes some of
that metadata across all clouds. The command 'cloud-init query' surfaces a
simple CLI to query or format any cached instance metadata so that scripts
or end-users do not have to write tools to crawl metadata themselves.

Since 'cloud-init query' is runnable by non-root users, redact any
sensitive data from instance-data.json and provide a root-readable
unredacted instance-data-sensitive.json. Datasources can now define a
sensitive_metadata_keys tuple which will redact any matching keys
which could contain passwords or credentials from instance-data.json.

Also add the following standardized 'v1' instance-data.json keys:
  - user_data: The base64encoded user-data provided at instance launch
  - vendor_data: Any vendor_data provided to the instance at launch
  - underscore_delimited versions of existing hyphenated keys:
    instance_id, local_hostname, availability_zone, cloud_name
Latest commit fc4b966 Sep 26, 2018
Permalink
Failed to load latest commit information.
bash_completion cli: add cloud-init query subcommand to query instance metadata Sep 25, 2018
cloudinit cli: add cloud-init query subcommand to query instance metadata Sep 25, 2018
config redhat: remove ssh keys on new instance. Aug 6, 2018
doc cli: add cloud-init query subcommand to query instance metadata Sep 25, 2018
packages - Do not use the systemd_prefix macro, not available in this environment May 29, 2018
systemd cloud-config.service: run After snap.seeded.service. May 14, 2018
sysvinit Gentoo: chmod +x on all files in sysvinit/gentoo/ Oct 31, 2017
templates renderer: support unicode in render_from_file. Apr 12, 2018
tests cli: add cloud-init query subcommand to query instance metadata Sep 25, 2018
tools tools/tox-venv: update for new features. Sep 25, 2018
udev remove blocking udev functionality May 27, 2016
upstart cloud-init-blocknet: remove debug code going to /run/cloud-init-blocknet Sep 15, 2014
.gitignore Azure VM Preprovisioning support. Jan 24, 2018
.pylintrc Add datasource Oracle Compute Infrastructure (OCI). Aug 17, 2018
ChangeLog release 18.3 Jun 20, 2018
HACKING.rst HACKING.rst: mention setting user name and email via git config. Jan 25, 2018
LICENSE LICENSE: Allow dual licensing GPL-3 or Apache 2.0 Dec 22, 2016
LICENSE-Apache2.0 LICENSE: Allow dual licensing GPL-3 or Apache 2.0 Dec 22, 2016
LICENSE-GPLv3 LICENSE: Allow dual licensing GPL-3 or Apache 2.0 Dec 22, 2016
MANIFEST.in Implement bash completion script for cloud-init command line Apr 18, 2018
Makefile tests: Add cloudinit package to all test targets Sep 20, 2017
TODO.rst move TODO to TODO.rst Jul 7, 2014
integration-requirements.txt cli: add cloud-init query subcommand to query instance metadata Sep 25, 2018
requirements.txt Remove prettytable dependency, introduce simpletable Oct 2, 2017
setup.py util: add get_linux_distro function to replace platform.dist May 30, 2018
snapcraft.yaml snap: Removing snapcraft plug line Jun 7, 2017
test-requirements.txt tox/build: do not package depend on style requirements. May 24, 2017
tox.ini tests: remove pip install workarounds for pylxd, take upstream fix. Jun 8, 2018