~chad.smith/cloud-init:feature/1797480-azure-support-gen2-instances

Last commit made on 2018-11-07
Get this branch:
git clone -b feature/1797480-azure-support-gen2-instances https://git.launchpad.net/~chad.smith/cloud-init
Only Chad Smith can upload to this branch. If you are Chad Smith please log in for upload directions.

Branch merges

Branch information

Name:
feature/1797480-azure-support-gen2-instances
Repository:
lp:~chad.smith/cloud-init

Recent commits

93e9602... by Chad Smith

comment update for azure udev script

bbaeef5... by Chad Smith

azure: add udev rules to create cloud-init Gen2 disk name symlinks

9073951... by Aswin Rajamannar

azure: report ready to fabric after reprovision and reduce logging

When reusing a preprovisioned VM, report ready to Azure fabric as soon as
we get the reprovision data and the goal state so that we are not delayed
by the cloud-init stage switch, saving 2-3 seconds. Also reduce logging
when polling IMDS for reprovision data.

LP: #1799594

d74d3f0... by Chad Smith

query: better error when missing read permission on instance-data

Emit a permissions error instead of "Missing instance-data.json" when
non-root user doesn't have read-permission on
/run/cloud-init/instance-data.json

dc0be9c... by Chad Smith

instance-data: fallback to instance-data.json if sensitive is absent.

On cloud-init upgrade path from 18.3 to 18.4 cloud-init changed how
instance-data is written. Cloud-init changes instance-data.json from root
read-only to redacted world-readable content, and provided a separate
unredacted instance-data-sensitive.json which is read-only root.
Since instance-data is only rewritten from cache on
reboot, the query and render tools needed fallback to use the 'old'
instance-data.json if the new sensitive file isn't yet present.

This avoids error messages from tools about an absebt
/run/instance-data-sensitive.json file.

LP: #1798189

532ff0f... by Tomer Cohen

docs: remove colon from network v1 config example.

The docs for network v1 config contained a errant ':'. Simply drop it.

744c423... by Jason Zions <email address hidden>

Add cloud-id binary to packages for SUSE

e0084a5... by Robert Schweikert

systemd: On SUSE ensure cloud-init.service runs before wicked

With db50bc0d9 the sysconfig renderer was enabled for
openSUSE and SUSE Linux Enterprise. This requires that
cloud-init.service starts before wicked.

LP: #1799709

4ea64f1... by Robert Schweikert

update detection of openSUSE variants

openSUSE has changed the way the distribution is identified in
os-release. Add support detecting for openSUSE Leap 42.3, Leap 15
and TumbleWeed.

Reference: boo#1111427

1d5e9ae... by Chad Smith

azure: Add apply_network_config option to disable network from IMDS

Azure generates network configuration from the IMDS service and removes
any preexisting hotplug network scripts which exist in Azure cloud images.
Add a datasource configuration option which allows for writing a default
network configuration which sets up dhcp on eth0 and leave the hotplug
handling to the cloud-image scripts.

To disable network-config from Azure IMDS, add the following to
/etc/cloud/cloud.cfg.d/99-azure-no-imds-network.cfg:
datasource:
  Azure:
    apply_network_config: False

LP: #1798424