~raharper/cloud-init:ubuntu/devel/newupstream-20181214

Last commit made on 2018-12-14
Get this branch:
git clone -b ubuntu/devel/newupstream-20181214 https://git.launchpad.net/~raharper/cloud-init
Only Ryan Harper can upload to this branch. If you are Ryan Harper please log in for upload directions.

Branch merges

Branch information

Name:
ubuntu/devel/newupstream-20181214
Repository:
lp:~raharper/cloud-init

Recent commits

47a4d44... by Ryan Harper on 2018-12-14

releasing cloud-init version 18.5-1-g5b065316-0ubuntu1

1fb1604... by Ryan Harper on 2018-12-14

update changelog (New upstream snapshot 18.5-1-g5b065316).

48bcdea... by Ryan Harper on 2018-12-14

merge from upstream/master at 18.5-1-g5b065316

5b06531... by Scott Moser on 2018-12-14

Update to pylint 2.2.2.

The tip-pylint tox target correctly reported the invalid use of
string formatting. The change here is to:

a.) Fix the error that was caught.
b.) move to pylint 2.2.2 for the default 'pylint' target.

45d731a... by Ryan Harper on 2018-12-13

Release 18.5

Bump the version in cloudinit/version.py to be 18.5 and update ChangeLog.

LP: #1808380

e1da348... by Joshua Powers on 2018-12-11

tests: add Disco release

6aef6c7... by Ryan Harper on 2018-12-11

net: render 'metric' values in per-subnet routes

It is possible to have a metric value in a per-subnet route.
This is currently missing in all renderers. Update each
renderer to emit the correct metric value from the config.

LP: #1805871

a4007d0... by James Baxter on 2018-12-06

write_files: add support for appending to files.

Add 'append: true' to write_files entries to append 'content' to file
specified by 'path' key. This modifies the file open mode to append.

a582a2d... by Scott Moser on 2018-12-04

config: On ubuntu select cloud archive mirrors for armel, armhf, arm64.

Infrastructure is now set up for Ubuntu to handle Amazon instances
hitting a ports archive at:
   - http://%(ec2_region)s.ec2.ports.ubuntu.com/ubuntu-ports/

And additionally, generic mirrors at
   *.clouds.ports.ubuntu.com/ubuntu-ports

The change here will utilize those mirrors for the arm64, armel and
armhf arches.

We've decided to limit the auto-selection of those
mirrors to arm, where we know a use case. That way new instances
of ppc64el or other arches will not select them. Such a behavior change
could be problematic for a user in a firewalled environment.

LP: #1805854

230e67e... by Scott Moser on 2018-12-03

dhclient-hook: cleanups, tests and fix a bug on 'down' event.

I noticed a bug in dhclient_hook on the 'down' event, using 'is'
operator rather than '==' (if self.net_action is 'down').

This refactors/simplifies the code a bit for easier testing and adds
tests. The reason for the rename of 'action' to 'event' is to just
be internally consistent. The word and Namespace 'action' is used
by cloud-init main, so it was not really usable here.

Also adds a main which can easily be debugged with:
  CI_DHCP_HOOK_DATA_D=./my.d python -m cloudinit.dhclient_hook up eth0