~raharper/cloud-init:net-v2-dont-print-udevadm-commands

Last commit made on 2017-03-28
Get this branch:
git clone -b net-v2-dont-print-udevadm-commands 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:
net-v2-dont-print-udevadm-commands
Repository:
lp:~raharper/cloud-init

Recent commits

891ec47... by Ryan Harper

netplan: remove debugging prints, add debug logging

2163297... by Tore

Add support for setting hashed passwords

This change will add support for hashed passwords in cc_set_passwords.
It checks if a password is a hash with by checking that it matches
in fairly safe way, and also that the password does not have a ":" in it.

chpasswd needs to know if the password is hashed or not, so two lists
is created so chpasswd is feed with the correct one.

LP: #1570325

4a2b2f8... by Jonathan Ballet <email address hidden>

Fix filesystem creation when using "partition: auto"

Accordingly to the documentation:

    The ``partition`` option may also be set to ``auto``, in which this
    module will search for the existance of a filesystem matching the
    ``label``, ``type`` and ``device`` of the ``fs_setup`` entry and
    will skip creating the filesystem if one is found.

However, using this "auto" flag always recreates the partition no matter
if it has been done before or not.

This commit fixes a bug in which the "partition" attribute was always
set to None although in some cases it should not.

LP: #1634678

443095f... by Scott Moser

ConfigDrive: support reading config drive data from /config-drive.

This is thie cloud-init part of a fix to allow nova-lxd to provide
config drive data. The other part will be done in nova-lxd.

The agreement here is that nova-lxd will copy the contents of the
config drive to /config-drive in the container.

LP: #1673411

20a628c... by Scott Moser

ds-identify: fix detection of Bigstep datasource.

The path for checking presence of Bigstep datasource was simply wrong.
Set the correct path.

LP: #1674766

35cf341... by Joshua Powers

test: add running of pylint

Now tox will run pylint. The .pylintrc file sets pylint to only produce
errors, and will ignore certain classes that are known problematic (six).

2e879da... by Scott Moser

ds-identify: fix bug where filename expansion was left on.

The script is written to have the protection of disabling filename
expansion (set -f) and explicitly enabling expansion when needed.
However, the check_config function failed to disable it after enabling.

de63d66... by Scott Moser

advertise network config v2 support (NETWORK_CONFIG_V2) in features.

ef18b8ac4c added support for handing network config v2 (aka netplan
format). This just adds that feature to the list of supported features.

e1a1854... by root <email address hidden>

Bigstep: fix bug when executing in python3.

Python 2's json.loads would accept bytes, so this bug was
only exposed in python3.

192dbda... by Scott Moser

Fix unit test when running in a system deployed with cloud-init.

test_netconfig.py:test_apply_network_config_eni_ub would attempt to
remove any .link files that cloud-init had written. This was just
a failure to mock out all of its interaction with the host.