Created by Joshua Harlow on 2012-09-08 and last modified on 2012-09-10
Get this branch:
bzr branch lp:~harlowja/cloud-init/query-tool-is-back
Only Joshua Harlow can upload to this branch. If you are Joshua Harlow please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Joshua Harlow

Recent revisions

649. By Joshua Harlow on 2012-09-10

Fix some pylint issues and update the datasource query
to just return a map describing the database and use the
borrowed pprint code to show this map in a nice CLI format.

Also allow for printing of the init configuration as well
as the datasource via the query entrypoint.

648. By Joshua Harlow on 2012-09-08

Updated with no encryption and
clearing out of the userdata/raw fields
to prevent access when querying.

647. By Joshua Harlow on 2012-09-08

Start adding a query entrypoint with encryption using
aes of the userdata (raw and not raw) if possible using
the provided users (currently root) private ssh key sha256
hash as the secret (openssl was tried, didn't work due to
key file formats being all different).

646. By Scott Moser on 2012-09-06

do not convert type None to string in cfgmnt.

645. By Thomas Herve on 2012-09-05

add 'RUN=1' to /etc/default/landscape-client

This modifies /etc/default/landscape-client to have 'RUN=1' if and only
if the cloud-config (user-data or local) was non-empty.

644. By Joshua Harlow on 2012-09-02

improvements for launch index, one fix for cloud-archive

1. Docs for launch-index + examples
2. Tests for launch-index + data files
3. Fixing a bug with cloud-archive yaml types allowed (likes a tuple not a list
   for some reason) (LP: #1044594)
4. Setting the 'part' content-type if what we actually use is different.

643. By Ben Howard on 2012-09-01

remove 'admin' group for ubuntu user, fix change password

The admin group is deprecated in 12.04, so this removes the ubuntu
user from that group (by default).

The second change here is to fix the 'set_password' for the 'password'
cloud-config. if 'password' is set in cloud_config, then
 * if 'users' is given, it applies to user[0]
 * if 'users' is not given, then it applies to the distro default user

642. By Joshua Harlow on 2012-08-31

support launch index specific user-data

EC2 and openstack provide 'launch_index' in their metadata. This allows
the user to specify cloud-config or multipart mime data that includes the
'Launch-Index' header.

If launch index is available in the metadata service, then:
 * any part that contains a launch index other than the current launch-index
   of this instance will be ignored.
 * any part that does not contain a launch index will be considered as
   for this instance.

If there is no such header, or launch_index is not available in the metadata
service, then no such filtering will be done.

641. By Scott Moser on 2012-08-31

usergroup related fixes

- Converted user list to user dict to allow exclusion of the default user
  on Ubuntu systems via cloud-config (LP: #1041384).

- Fixed bug with user creation on Ubuntu where the default user groups are
  not set properly (LP: #1044044).

- Fixed documentation for user creation (LP: #1044508).

640. By Garret Holmstrom on 2012-08-31

update systemd unit files

The systemd unit files are somewhat out of date. Fixes here include telling
systemd to send stdout to a tty so it shows up in console output, updating the
ways they call cloud-init, and disabling timeouts so cloud-config work doesn't
get timed out after 90 seconds.

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.