~raharper/cloud-init:eni-drop-rendering-systemd-link-files

Last commit made on 2017-05-25
Get this branch:
git clone -b eni-drop-rendering-systemd-link-files 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:
eni-drop-rendering-systemd-link-files
Repository:
lp:~raharper/cloud-init

Recent commits

4a34c10... by Ryan Harper

cloudinit.net: remove generation of systemd .link files when rendering eni network configuration

9c33cb2... by Scott Moser

tox: move pylint target to 1.7.1

The motivation for this is to make tip-pylint target green.
It does 2 things:
 a.) silence a warning that is generated in pylint 1.7.1, but not
     other versions of pylint. This bug in pylint is filed at
     https://github.com/PyCQA/pylint/issues/1444
 b.) move tox -e pylint to use pylint 1.7.1

2c0655f... by Scott Moser

Fix get_interfaces_by_mac for empty macs

Some interfaces (greptap0 in the bug) have a mac address of
'00:00:00:00:00:00'. That was causing a duplicate mac detection
as the 'lo' device also has that mac.

The change here is to just ignore macs other than 'lo' that have that.

LP: #1692028

3d97b29... by Ben Howard

DigitalOcean: remove routes except for the public interface.

Previously, the datasource for DigitalOcean allowed for a gateway on each
NIC. As a result, on Ubuntu 16.04, networking.service was broken. For
17.04 and later, Ubuntu _replaces_ the default gateway with the second
gateway on 'ifup' after reboot.

DigitalOcean is looking at changing the meta-data, however, this will
result in another version of the meta-data JSON.

LP: #1681531.

d059d48... by Dimitri John Ledkov

netplan: pass macaddress, when specified, for vlans

When vlan mac address is specified in config, render it for
netplan and for ENI.

LP: #1690388

d91f031... by Felix Dreissig

doc: various improvements for the docs on cc_users_groups.

It fixes an annoying typo/inconsistency ("ssh-autorized-keys" vs.
"ssh-authorized-keys"), adds descriptions of previously missing config
keys and improves overall consistency within the docs section.

e11d389... by Ryan Harper

cc_ntp: write template before installing and add service restart

On systems which installed ntp and specified servers or pools in the
config ntpd didn't notice the updated configuration file and didn't
use the correct configuration. Resolve this by rendering the template
first which allows the package install to use the existing
configuration. Additionally add a service restart to handle the case
where ntp does not need to be installed but it may not have started.

Add an integration test to confirm that cc_ntp enables ntp to use the
specific servers and pools in the cloud-config.

LP: #1645644

afdddf8... by Lars Kellogg-Stedman

cloudstack: fix tests to avoid accessing /var/lib/NetworkManager

on centos/fedora/rhel, /var/lib/NetworkManager has mode 700, causing
the cloudstack unit tests to fail when run as a non-root user. This
mocks out get_latest_lease so that we no longer try to read dhcp lease
information during the unit tests.

951863c... by Joshua Powers

tests: fix hardcoded path to mkfs.ext4

A recent merge that added a mkfs.ext4 tests has a hard coded location
for the binary of mkfs.ext4. On CentOS 7 the test failed because the
command in a different location than Ubuntu.

LP: #1691517

66e46d8... by Chris Brinker

Actually skip warnings when .skip file is present.

This change allows the presence of
  "/var/lib/cloud/instance/warnings/.skip" to
actually skip warnings as documented in Z99-cloudinit-warnings.sh.

LP: #1691551