Last commit made on 2019-05-09
Get this branch:
git clone -b fix/add-netplan-fixed-grat-arp-spelling 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


Recent commits

5524261... by Ryan Harper

Update comment to reference original bug, note release, improve code per Chad.

0ea9421... by Ryan Harper

netplan: accept the correctly spelled grat key, but write misspelling for compact reasons

67222ba... by Ryan Harper

netplan: update netplan key mappings for gratuitous-arp

Previous versions of netplan included a misspelling for the
bond parameter around gratuitous-arp. This has been fixed and released
and cloud-init needs to accept both values. This branch fixes the
key that will be rendered and transforms the previous misspelling
when capturing network_state.

LP: #1827238

784d330... by Scott Moser

git tests: no longer show warning about safe yaml.

Currently on 18.04, running tox -e py27 will spew errors like:
.tests/unittests/test_net.py:2649: YAMLLoadWarning: calling yaml.load()
without Loader=... is deprecated, as the default Loader is unsafe.
Please read https://msg.pyyaml.org/load for full details.

The change here just uses cloud-init's yaml, which does safeloading
by default.

3fb55ea... by Chad

tools/read-version: handle errors

When the cloned branch was not the canonical upstream and tags were not
available, tox would fail because tools/read-version would fail, and
tragically never print the advice that is in tools/read-version about
how to fix it.

This changes tools/read-version to catch the exception that is elsewhere
explicitly thrown and treat that too as an error it can handle.

5de83fc... by Ryan Harper

net/sysconfig: only indicate available on known sysconfig distros

Restrict the sysconfig renderer availabily to known distros.
Ubuntu/Debian systems may include network-manager but they do
not have support for reading sysconfig network output; that is
enabled via a Network-Manager plugin: ifcfg-rh which is not
available in Ubuntu/Debian.

LP: #1819994

69251d5... by Dan Watkins

packages: update rpm specs for new bash completion path

LP: #1825444

c8c3251... by "Jason Zions (MSFT)" <email address hidden>

test_azure: mock util.SeLinuxGuard where needed

Mock util.SeLinuxGuard to do nothing within tests that mock functions
used by the guard, when those mocks confuse the guard. This has no
impact when executing unit tests on systems which do not enable selinux
(e.g. Ubuntu).

LP: #1825253

947d3c2... by Dan Watkins

setup.py: install bash completion script in new location

Per lintian, this is the path at which bash completion scripts should
now be installed.

937555f... by Gonéri Le Bouder

mount_cb: do not pass sync and rw options to mount

On FreeBSD, mount_cd9660 does not accept the sync option that is enabled
by default. In addition, the sync is only useful with the `rw` mode.
However the `rw` mode was never used.

This patch removes the `rw` and `sync` parameter of `mount_cb` to
simplify the code base and resolve the FreeBSD issue.

LP: #1645824