Created by Hao Li and last modified
Get this branch:
bzr branch lp:~lihaosz/cloud-init/cloud-init
Only Hao Li can upload to this branch. If you are Hao Li please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Hao Li

Recent revisions

1017. By root <email address hidden>

cc_set_admin_pass.py can set root passwd by using admin_pass field in meta_data.json.
This is convenient and necessary for chinese user, because they are accustomed to login linux with root.
if users want to use this module, they should add "- set_admin_pass" under the section "cloud_init_modules" in /etc/cloud/cloud.cfg

cloud.py and __init__.py are modified to fetch admin_pass from cloud object.

1016. By Scott Moser

upstart/cloud-init-nonet.conf: only mention wait if larger than 5 seconds

silently wait 5 seconds for networking to come up.
We started seeing the message more now, as we are now blocking
the networking from coming up until cloud-init-local is done.

Previously that would have happened in parallel, and we were less likely
to see that message.

1015. By Scott Moser

upstart: add blocknet which blocks net until after cloud-init-local

This makes it so networking wont start to come up until after
cloud-init-local has had a chance to search local datasources
and write /etc/network/interfaces.

The changes most likely need to still be done for systemd.

1014. By Scott Moser

netinfo: log error on failure of route info

1013. By Scott Moser

OpenStack: fix consumption of vendor-data to allow namespacing

Not all vendor data is destined for cloud-init. This sanely reads
the vendor data as a dict, array or a string.

1012. By Scott Moser

cloud-init-local depends on /run. reflect that in upstart job.

With the writing of cloud-init status, cloud-init-local needs to
have /run mounted. The issue we were seeing was a race where:
 cloud-init-local creates /run/cloud-init
 /run is mounted
 cloud-init-local tries to link a file into /run/cloud-init

that directory was no longer visisable as /run was mounted over
the top.

1011. By Scott Moser

OpenStack: search less urls to determine if MD service is there.

We were checking for presense of meta_data.json for each supported
metadata version. Instead just check that /openstack is there.

This reduces the time to check on EC2 or any other cloud.

1010. By Scott Moser

ConfigDrive: support reading vendor_data similar to OpenStack MD reader

This makes the DataSourceConfigDrive support vendor-data in the same
way the metadata service reader does. There are still some things to
fix here, but now we're similar between these two.

Also drops the ability to specify a version (as in YYYY-MM-DD) that you want to
look for. Nothing was using this, but it may be useful to add back in
in the future and expose as a datasource config option.

1009. By Scott Moser

openstack: fix bug referencing undefined variable, revert some changes

I had leaked in a couple exception loud-ness changes previously.
This does fix one bug in that os_versions was not defined.

1008. By Scott Moser

pyflakes fixes.

make pyflakes now passes.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.