Created by Hannes and last modified
Get this branch:
bzr branch lp://staging/~hannes-georg-0/cloud-init/add_mkswap_force_flag
Only Hannes can upload to this branch. If you are Hannes please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information


Recent revisions

1223. By Hannes

cc_disk_setup: added force flag for swap

1222. By Scott Moser

packages/bddeb: update to know package mappings for flake8 and hacking

packages/bddeb failed to work after flake8 and hacking were added to
test-requirements.txt. The necessary fix is just to know about the
debian package names for those pypi packages.

1221. By Scott Moser

kernel command line: override all local settings

settings on the kernel command line (cc:) were documented to override
all local settings, but a bug in implementation meant they would only
override those that are in /etc/cloud/cloud.cfg, not any found in

1220. By Scott Moser

fix logic error in ec2 get_instance_userdata and slow tests

The change to get_instance_userdata is to fix an issue that
was causing retry in the test when it was not desired.
if user_data returned 404 it means "there was no user-data", so
dont bother retrying. However, _skip_retry_on_codes was returning
False indicating that readurl should retry.

test_merging was creating 2500 random tests, shrink that down to 100.
test_seed_runs is still on my system the slowest test, but
taking < .5 seconds where it was taking > 3.

1219. By Scott Moser

fix up tests that take too long due to retries and timeouts

1218. By Matt Fischer

Document improvements for runcmd/bootcmd

Note that runcmd runs only on first boot.
Note that strings need to be quoted, not escaped.
Switch bootcmd list text to use - not * like everything else.

1217. By Joshua Harlow

Enable flake8 and fix a large amount of reported issues

1216. By Scott Moser

fix timestamp in reporting events.

If no timestamp was passed into a ReportingEvent, then the default was
used. That default was 'time.time()' which was evaluated once only at
import time.

1215. By Scott Moser

Paths: fix instance path if datasource's id has a '/'.

If the datasource's instance id contained a '/' then the instance_id path
would not be as expected under /var/lib/cloud/instances/instance_id.

1214. By Scott Moser

Config Drive: fix check_instance_id signature.

After reboot cloud-init would fail as the previously pickled object
would have a check_instance_id signature but it didn't match expected

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.