~ffledgling/cloud-init:doc-fix

Last commit made on 2016-12-09
Get this branch:
git clone -b doc-fix https://git.launchpad.net/~ffledgling/cloud-init
Only Anhad Jai Singh can upload to this branch. If you are Anhad Jai Singh please log in for upload directions.

Branch merges

Branch information

Name:
doc-fix
Repository:
lp:~ffledgling/cloud-init

Recent commits

641e6af... by Anhad Jai Singh <email address hidden> on 2016-12-09

Change `nobootwait` to `nofail` in docs

`nobootwait` is an ubuntu specific extension to the mount syntax that is
not supported by other non-derivative linux operating systems.

`nobootwait` support appears to have been dropped Ubuntu 16.04 onwards,
based on http://manpages.ubuntu.com/manpages/xenial/man5/fstab.5.html.
Last Ubuntu version with mention of `nobootwait` appears to be 15.10,
based on http://manpages.ubuntu.com/manpages/wily/man5/fstab.5.html.

All examples using `nobootwait` were updated to use the standard
`nofail`, which gives the expected behaviour of not failing to boot in
case a volume is missing. There are likely subtle differences in semantics
between `nobootwait` and `nofail`, but it is the best (only?) substitute
that gives behaviour similar to the defunct `nobootwait` option.

166df60... by Scott Moser on 2016-12-03

fix decoding of utf-8 chars in yaml test

Python 3 would fail to load yaml from doc/examples/cloud-config-apt.txt
when the LANG (specifically LC_CTYPE) was 'C'.

The changes here do 2 things:
 a.) remove the non-ascii characters from the yaml file.
 b.) fix the validate-yaml.py program to decode using utf-8 specifically
     rather than using the inherited settings.

This fixes it now for ascii and in the future also should non-ascii slip in.

f6d5dc4... by Joshua Harlow on 2016-09-15

Replace usage of sys_netdev_info with read_sys_net

I've seen cases of unable to read from files as
well as the existing os errors so catch io error
and skip by using the smarter read_sys_net instead.

LP: #1625766

3ac34f5... by Joshua Harlow on 2016-12-02

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 on 2016-11-22

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 on 2016-11-23

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 on 2016-11-09

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 on 2016-07-25

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 on 2016-11-22

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 on 2016-11-22

flake8: fix trailing white space