~goneri/cloud-init:freebsd_config

Last commit made on 2019-05-12
Get this branch:
git clone -b freebsd_config 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:
freebsd_config
Repository:
lp:~goneri/cloud-init

Recent commits

0823154... by Gonéri Le Bouder

freebsd: fix the name of cloudcfg VARIANT

config/cloud.cfg.tmpl uses 'freebsd', not 'bsd' to identify FreeBSD.

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

Azure: Return static fallback address as if failed to find endpoint

The Azure data source helper attempts to use information in the dhcp
lease to find the Wireserver endpoint (IP address). Under some unusual
circumstances, those attempts will fail. This change uses a static
address, known to be always correct in the Azure public and sovereign
clouds, when the helper fails to locate a valid dhcp lease. This
address is not guaranteed to be correct in Azure Stack environments;
it's still best to use the information from the lease whenever possible.

acd84e2... by Chad Smith

release 19.1

Bump the version on cloudinit/version.py to be 19.1 and update ChangeLog

LP: #1828479

7193b80... by Gonéri Le Bouder

freebsd: add chpasswd pkg in the image

cc_set_passwords.py depends on chpasswd binary.

ce5fe3a... by Paride Legovini

tests: add Eoan release

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

cc_mounts: check if mount -a on no-change fstab path

Under some circumstances, cc_disk_setup may reformat volumes which
already appear in /etc/fstab (e.g. Azure ephemeral drive is reformatted
from NTFS to ext4 after service-heal). Normally, cc_mounts only calls
mount -a if it altered /etc/fstab. With this change cc_mounts will read
/proc/mounts and verify if configured mounts are already mounted and if
not raise flag to request a mount -a. This handles the case where no
changes to fstab occur but a mount -a is required due to change in
underlying device which prevented the .mount unit from running until
after disk was reformatted.

LP: #1825596

9aa97cf... by Dan Watkins

replace remaining occurrences of LOG.warn

ab6621d... by Anh Vo (MSFT)

DataSourceAzure: Adjust timeout for polling IMDS

If the IMDS primary server is not available, falling back to the
secondary server takes about 1s. The net result is that the
expected E2E time is slightly more than 1s. This change increases
the timeout to 2s to prevent the infinite loop of timeouts.

86674f0... by Anh Vo (MSFT)

Azure: Changes to the Hyper-V KVP Reporter

 + Truncate KVP Pool file to prevent stale entries from
   being processed by the Hyper-V KVP reporter.
 + Drop filtering of KVPs as it is no longer needed.
 + Batch appending of existing KVP entries.

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.