~paul-meyer/cloud-init:paulmey/fix-fs-setup

Last commit made on 2017-05-20
Get this branch:
git clone -b paulmey/fix-fs-setup https://git.launchpad.net/~paul-meyer/cloud-init
Only Paul Meyer can upload to this branch. If you are Paul Meyer please log in for upload directions.

Branch merges

Branch information

Name:
paulmey/fix-fs-setup
Repository:
lp:~paul-meyer/cloud-init

Recent commits

8098f58... by Paul Meyer

Add 'udevadm settle' before enumerating partitions

Fixes lp #1692093

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

a6572d9... by Dimitri John Ledkov

netplan: fix netplan render_network_state signature.

tools/net-convert fails to output netplan config, because the
positional arguments of render_network_state are the wrong way around
for that function w.r.t. other renders.

Fix the netplan renderer to have the correct signature.

LP: #1685944

31b6f17... by Scott Moser

Azure: fix reformatting of ephemeral disks on resize to large types.

Large instance types have a different disk format on the newly
partitioned ephemeral drive. So we have to adjust the logic in the
Azure datasource to recognize that a disk with 2 partitions and
an empty ntfs filesystem on the second one is acceptable.

This also adjusts the datasources's builtin fs_setup config to remove
the 'replace_fs' entry. This entry was previously ignored, and confusing.
I've clarified the doc on that also.

LP: #1686514