~goneri/cloud-init:netbsd

Last commit made on 2019-10-19
Get this branch:
git clone -b netbsd https://git.launchpad.net/~goneri/cloud-init
Only Gonéri Le Bouder can upload to this branch. If you are Gonéri Le Bouder please log in for upload directions.

Branch merges

Branch information

Name:
netbsd
Repository:
lp:~goneri/cloud-init

Recent commits

4427531... by Gonéri Le Bouder on 2019-04-21

NetBSD support

Add support for the NetBSD Operating System. This branch has been tested
with:

- a NoCloud data source
- and NetBSD 7.0, 8.0 and 8.1.

This commit depends on the following merge requests:

- https://code.launchpad.net/~goneri/cloud-init/+git/cloud-init/+merge/365641
- https://code.launchpad.net/~goneri/cloud-init/+git/cloud-init/+merge/368507

09ef518... by Gonéri Le Bouder on 2019-03-24

freebsd: introduce the freebsd renderer

Refactoring of the FreeBSD code base to provide a real network renderer
for FreeBSD.
Use the generic update_sysconfig_file() from rhel_util to handle the
access to /etc/rc.conf.
Interfaces are not automatically renamed by FreeBSD using
the following configuration in /etc/rc.conf:

```
ifconfig_fxp0_name="eth0"
```

34f5fe2... by Gonéri Le Bouder on 2019-10-19

See: https://code.launchpad.net/~goneri/cloud-init/+git/cloud-init/+merge/368507/comments/980567

ecb501b... by Xiaofeng Wang on 2019-10-17

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 do3meli on 2019-10-17

fix some more typos in comments

7e69925... by do3meli on 2019-10-17

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 do3meli on 2019-10-16

Add .venv/ to .gitignore

26e1f06... by do3meli 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.