~larsks/cloud-init:bug/164966

Last commit made on 2016-12-03
Get this branch:
git clone -b bug/164966 https://git.launchpad.net/~larsks/cloud-init
Only Lars Kellogg-Stedman can upload to this branch. If you are Lars Kellogg-Stedman please log in for upload directions.

Branch merges

Branch information

Name:
bug/164966
Repository:
lp:~larsks/cloud-init

Recent commits

b618e8b... by Lars Kellogg-Stedman

fix unicodecode errors from configobj

configobj (4.7.2) blows up when passed unicode content, so ensure that
we call .encode('utf-8') before passing content to the SysConf class.

LP: #1646966

3ac34f5... by Joshua Harlow

fix problems found in python2.6 test.

These are just simple syntax fixes to work correctly on python2.6.
Found when testing in a centos 6 container.

2d2ec70... by Scott Moser

OpenStack: extend physical types to include hyperv, hw_veb, vhost_user.

This extends the list of device 'types' that are considered to be physical
to include hyperv, hw_veb, and vhost_user.

LP: #1642679

8c6878a... by Scott Moser

tests: fix assumptions that expected no eth0 in system.

The previous commit added tests that would fail on any system that had
a nic named eth0 or eno1. The changes here supply the expected macs to
the function being tested so it does not query the system.

LP: #1644043

6e92c5f... by Scott Moser

net/cmdline: Consider ip= or ip6= on command line not only ip=

The previous behavior would miss ip6= on the command line and
would not pay attention to the written net-* or net6-* files if
only ip6= was found.

The fix here enables parsing the files if either ip= or ip6= is found,
and adds some tests as well.

LP: #1639930

11b1aba... by Joshua Harlow

Just use file logging by default

Instead of being dependent on the availability of syslog that
various distributions may not enable or configure correctly
or they do so via patches just use a known-to-work default
logging mechanism. If distros want to change this, that
is fine, but at least the built-in one will work reliably.

LP: #1643990

0fd1dd0... by Wesley Wiedenmeier

Improve formatting for ProcessExecutionError

This replaces long single lines in a log or console output
with multiple lines that are much easier to read.
It indents the stdout and stderr so logs are more easily
read also.

bc4d9c5... by Scott Moser

flake8: fix trailing white space

7e586f0... by Sean Bright

Doc: various documentation fixes

Several various minor fixes for the readthedocs documentation.

edd94eb... by Brent Baude

cloudinit/config/cc_rh_subscription.py: Remove repos before adding

A user has pointed out that upon set up of a machine, users typically
remove repos (sometimes all of them) and then add repos in. This does
make sense for a typical user.