~j.w.baxter/cloud-init:append_files

Last commit made on 2018-12-04
Get this branch:
git clone -b append_files https://git.launchpad.net/~j.w.baxter/cloud-init
Only James Baxter can upload to this branch. If you are James Baxter please log in for upload directions.

Branch merges

Branch information

Name:
append_files
Repository:
lp:~j.w.baxter/cloud-init

Recent commits

21e0df9... by James Baxter

config: simplify write_files append and add unit test

f948c55... by James Baxter

config: write_files can now append content

bf79171... by Tamilmani Manoharan

azure: detect vnet migration via netlink media change event

Replace Azure pre-provision polling on IMDS with a blocking call
which watches for netlink link state change messages. The media
change event happens when a pre-provisioned VM has been activated
and is connected to the users virtual network and cloud-init can
then resume operation to complete image instantiation.

c7c395c... by Adam DePue

Azure: fix copy/paste error in error handling when reading azure ovf.

Check the appropriate variables based on code review. Correcting what
seems to be a copy/paste mistake for the error handling from a few lines
above.

4ce8a28... by Scott Moser

tests: fix incorrect order of mocks in test_handle_zfs_root.

The order of parameters to test_handle_zfs_root did not match
the order of the mocks applied.

Thanks to Jason Zions for pointing this out.

2e93cc6... by Tomer Cohen

doc: Change dns_nameserver property to dns_nameservers.

According to the examples in the page, v1 network config DNS should
be defined using the dns_nameservers. The singular dns_nameserver is
undefined.

530850f... by Scott Moser

OVF: identify label iso9660 filesystems with label 'OVF ENV'.

When deploying an OVA, at least some versions of vmware
attach a cdrom with an ISO9660 filesystem label of 'OVF ENV'.
This was seen on Vmware vCenter Server, 6.0.0, 2776510.

In order to accomplish this we had to change the content of
the DI_ISO9660_DEVS variable to be comma delimited rather
than space delimited.

e9d57b8... by Chad Smith

logs: collect-logs ignore instance-data-sensitive.json on non-root user

Since /run/cloud-init/instance-data-sensitive.json is root read-only,
ignore this file if non-root user runs collect-logs.

If --include-userdata is provided on the command line, exit in error
if non-root user attempts this operation.

Lastly, update the __main__ to exit based on return value of main.

LP: #1805201

ef0611a... by Chad Smith

net: Ephemeral*Network: add connectivity check via URL

We add a new Optional parameter: connectivity_url
This is used in __enter__ to verify if a connection already exists.
If it does exist, no operations are performed.

8f812a1... by Chad Smith

azure: _poll_imds only retry on 404. Fail on Timeout

Upon URL timeout, _poll_imds is expected to re-dhcp to get updated
IP configuration. We don't want to indefinitely retry because the
instance likely has invalid IP configuration.

LP: #1803598