cloud-init:master

Last commit made on 2019-10-17
Get this branch:
git clone -b master https://git.launchpad.net/cloud-init
Members of cloud-init Commiters can upload to this branch. Log in for directions.

Branch merges

Branch information

Name:
master
Repository:
lp:cloud-init

Recent commits

ecb501b... by Xiaofeng Wang 5 hours ago

guestcust_util: handle special characters in config file

Handle the special characters when reading VM Tools configure file.
For example, the key and value may contain _, - and . etc.

a86829d... by Dominic Schlegel <email address hidden> 6 hours ago

fix some more typos in comments

7e69925... by Dominic Schlegel <email address hidden> 6 hours ago

replace any deprecated log.warn with log.warning

Commit 6797e822959b84c98cf73e02b2a6e3d6ab3fd4fe replaced
the LOG.warn calls that linters were warning about; this
also replaces calls that linters would not have recognised
(as `log` is generally a parameter in these scenarios).

LP: #1508442

fac9898... by Harald Jensås on 2019-10-16

net: handle openstack dhcpv6-stateless configuration

Openstack subnets can be configured to use SLAAC by setting
ipv6_address_mode=dhcpv6-stateless. When this is the case
the sysconfig interface configuration should use
IPV6_AUTOCONF=yes and not set DHCPV6C=yes.

This change sets the subnets type property to the full
network['type'] from openstack metadata.

cloudinit/net/sysconfig.py and cloudinit/net/eni.py
are updated to support new subnet types:
  - 'ipv6_dhcpv6-stateless' => IPV6_AUTOCONF=yes
  - 'ipv6_dhcpv6-stateful' => DHCPV6C=yes

Type 'dhcp6' in sysconfig is kept for backward compatibility
with any implementations that set subnet_type == 'dhcp6'.

LP: #1847517

de03438... by Dominic Schlegel <email address hidden> on 2019-10-16

Add .venv/ to .gitignore

26e1f06... by Dominic Schlegel <email address hidden> on 2019-10-16

Small typo fixes in code comments.

823708e... by Ryan Harper on 2019-10-11

cloud_test/lxd: Retry container delete a few times

LXD integration tests fail sometimes due to failure to delete the
container, usually related to ZFS backend. This is a transient
issue unrelated to the test itself. Teach LXD platform to retry
this a few times before returning an error.

7d5d34f... by Scott Moser on 2019-10-11

Add Support for e24cloud to Ec2 datasource.

e24cloud provides an EC2 compatible datasource.
This just identifies their platform based on dmi 'system-vendor'
having 'e24cloud'. https://www.e24cloud.com/en/ .
Updated chassis typo in zstack unit test docstring.

LP: #1696476

d3b1c4a... by Adam Dobrawy <email address hidden> on 2019-10-04

Add RbxCloud datasource

a7d8d03... by Dan Watkins on 2019-10-04

get_interfaces: don't exclude bridge and bond members

The change that introduced this issue was handling interfaces that are
bonded in the kernel, in a way that doesn't present as "a bond" to
userspace in the normal way. Both members of this "bond" will share a
MAC address, so we filter one of them out to avoid incorrect MAC address
collision warnings.

Unfortunately, the matching condition was too broad, so that change also
affected normal bonds and bridges. This change specifically excludes
bonds and bridges from that determination, to address that regression.

LP: #1846535