Last commit made on 2019-08-20
Get this branch:
git clone -b master
Members of cloud-init commiters can upload to this branch. Log in for directions.

Branch merges

Branch information


Recent commits

3e99827... by Florian Müller <email address hidden> 4 hours ago

Add missing #cloud-config comment on first example in documentation.

Since this is the first code snippet some users might see,
they could end up in the same situation like me today
when they wonder why their yaml user config is not
working at all.

8587870... by Chad Smith 21 hours ago

ubuntu-drivers: emit latelink=true debconf to accept nvidia eula

To accept NVIDIA EULA, cloud-init needs to emit latelink=true debconf
setting to the linux-restricted-modules package to allow NVIDIA
drivers to properly link to the running kernel.

LP: #1840080

2c52e6e... by Dan Watkins 22 hours ago

DataSourceOracle: prefer DS network config over initramfs

The Oracle platform provides networking configuration from two sources:

* the primary interface configuration comes from the initramfs, because
  Oracle instance all iSCSI boot
* secondary interface configuration comes from an IMDS accessed over

As we need to combine these two sources of network configuration, the
default "prefer initramfs config over data source config" behaviour
isn't appropriate; we would never get the IMDS interfaces via that
route. Instead, the Oracle data source has code to combine these two
sources, so we prefer its network configuration over the initramfs

(This is not appropriate default behaviour, because _in general_ data
sources won't know how to merge initramfs-provided configuration into
their provided configuration, so switching this order for all data
sources would result in initramfs configuration being discarded on any
data source that implements network_config.)

e11b719... by Dan Watkins 23 hours ago

format.rst: add text/jinja2 to list of content types (+ cleanups)

The cleanups, specifically, are to sort the list of content types, and
remove trailing whitespace.

633f1ea... by Dan Watkins on 2019-08-19

Add GitHub pull request template to point people at hacking doc

This will hopefully avoid people submitting PRs against our mirror repo.

(Thanks to GitHub user @max06 for this suggestion!)

f17c72e... by Dan Watkins on 2019-08-16

cloudinit/distros/parsers/sys_conf: add docstring to SysConf

bcc2c43... by Joshua Powers on 2019-08-15

pyflakes: remove unused variable

2f3bb76... by Anh Vo (MSFT) on 2019-08-14

Azure: Record boot timestamps, system information, and diagnostic events

Collect and record the following information through KVP:
 + timestamps related to kernel initialization and systemd activation
   of cloud-init services
 + system information including cloud-init version, kernel version,
   distro version, and python version
 + diagnostic events for the most common provisioning error issues
   such as empty dhcp lease, corrupted ovf-env.xml, etc.
 + increasing the log frequency of polling IMDS during reprovision.

0e79a1b... by Dan Watkins on 2019-08-14

DataSourceOracle: configure secondary NICs on Virtual Machines

Oracle Cloud Infrastructure's Instance Metadata Service provides network
configuration information for non-primary NICs. This commit introduces
support, on Virtual Machines[0], for fetching that network metadata,
converting it to v1 network-config[1] and combining it into the network
configuration generated for the primary interface.

By default, this behaviour is not enabled. Configuring the Oracle
datasource to `configure_secondary_nics` enables it:

        configure_secondary_nics: true

Failures to fetch and generate secondary NIC configuration will log a
warning, but otherwise will not affect boot.

[0] The expected use of the IMDS-provided network configuration is
    substantially different on Bare Metal Machines, so support for that
    will be addressed separately.
[1] This is v1 config, because generates v1 config
    and we need to integrate the secondary NICs into that configuration.

b2d4dfe... by Dan Watkins on 2019-08-14

distros: fix confusing variable names

Building the subp arguments for a `useradd` call in a variable named
`adduser_cmd` is extremely confusing; let's not do that.

(This also changes the snap and freebsd variables to something more