~lamont/cloud-init/+git/bug-1621615-device6:master

Last commit made on 2016-11-02
Get this branch:
git clone -b master https://git.launchpad.net/~lamont/cloud-init/+git/bug-1621615-device6
Only LaMont Jones can upload to this branch. If you are LaMont Jones please log in for upload directions.

Branch merges

Branch information

Recent commits

ff71719... by LaMont Jones

Incorporate review feedback

c58923c... by LaMont Jones

The new version of initramfs-tools support for ipv6 delivers ipv6 config via DEVICE6, rather an DEVICE.

c12f4dd... by Joshua Powers

Add coverage collection to tox unit tests.

First step in increasing coverage is knowing what coverage
is currently at. By default, tox only runs coverage on py3 as it
is slower to run with coverage.

f7a5756... by Ryan Harper

cc_users_groups: fix remaing call to ds.normalize_user_groups

Previous commit f0747c4b4cf073273e11d383f0354257be7276ed relocated
normalize_users_groups to ug_util module, but missed modifying
the cc_users_groups config module. Apply the location change to fix.

29348af... by Scott Moser

disk-config: udev settle after partitioning in gpt format.

The function exec_mkpart_gpt was simply not waiting for udev events
to flush after calling sgdisk. The corresponding function
exec_mkpart_mbr already did.

This should fix a transient failure where mkfs would fail with
'not a block device'.

LP: #1626243

1e55f41... by Scott Moser

unittests: do not read system /etc/cloud/cloud.cfg.d

Many of the unit tests in test_data would inadvertantly read the
system's /etc/cloud/cloud.cfg and /etc/cloud/cloud.cfg.d.
This was first noticed on a system deployed by MAAS, where
files in /etc/cloud/cloud.cfg.d/ are root read-only.

This changes those tests to actually make use of
FilesystemMockingTestCase functionality and adds 'reRoot()' to that
class which is easier to use for at least this use case.

LP: #1635350

f6ae1f9... by Wesley Wiedenmeier

Add documentation for logging features.

Update the summary of rsyslog module and add logging.rst to docs.

d853456... by Ryan Harper

Add support for snap create-user on Ubuntu Core images.

Ubuntu Core images use the `snap create-user` to add users to an
Ubuntu Core system. Add support for creating snap users by adding
a key to the users dictionary.
  users:
    - name: bob
      snapuser: <email address hidden>

Or via the 'snappy' dictionary:
  snappy:
    email: <email address hidden>

Users may also create a snap user without contacting the SSO by
providing a 'system-user' assertion by importing them into snapd.

Additionally, Ubuntu Core systems have a read-only /etc/passwd such that
the normal useradd/groupadd commands do not function without an additional
flag, '--extrausers', which redirects the pwd to /var/lib/extrausers.

Move the system_is_snappy() check from cc_snappy module to util for
re-use and then update the Distro class to append '--extrausers' if
the system is Ubuntu Core.

ba0adb9... by Jim Gorz <email address hidden>

Fix sshd restarts for rhel distros.

Set the default value for 'ssh_svcname' in rhel distros.
This means that it no longer needs to be set in system_info config.

9972d24... by Scott Moser

OpenNebula: replace 'ip' parsing with cloudinit.net usage.

Replace the parsing of 'ip' to get a link and mac address list
in OpenNebula's datasource with usage of cloudinit.net.

This makes test cases there not depend on 'ip' availability
and also uses common code.