Created by Joshua Harlow on 2012-09-02 and last modified on 2012-09-02
Get this branch:
bzr branch lp:~harlowja/cloud-init/death-to-paths
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

645. By Joshua Harlow on 2012-09-02

Remove the usage of the paths.join(t/f) function
which seems to actually cause more pain that giving
any benefit, revert back to just using os.path...

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.

639. By Scott Moser on 2012-08-28

fix busted cc_ssh_import_id

638. By Scott Moser on 2012-08-28

distros/ubuntu.py: remove unused import (pylint)

637. By Scott Moser on 2012-08-28

move user-groups section from cloud-config.txt to its own file.

move the section on user and group adds into

636. By Scott Moser on 2012-08-28

fix bug preventing public_keys from being imported for to-be-created users

If a user hadn't been created in the image, when the public_key was to
be injected by cc_ssh into the user's account, it didn't exist yet.

This moves the population of the authorized_keys from the metadata service
into user_groups, and puts that before cc_ssh runs. moving before cc_ssh
means that when ssh comes up, the users will be ready.

ssh-import-id then handles any ssh-import-id users after networking is up.

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.