~raharper/cloud-init:fix/debian-ntp-template

Last commit made on 2019-07-16
Get this branch:
git clone -b fix/debian-ntp-template https://git.launchpad.net/~raharper/cloud-init
Only Ryan Harper can upload to this branch. If you are Ryan Harper please log in for upload directions.

Branch merges

Branch information

Name:
fix/debian-ntp-template
Repository:
lp:~raharper/cloud-init

Recent commits

d55a60e... by Ryan Harper

Fix pycodestyle

fb7ba38... by Ryan Harper

templates/nto.conf.debian.tmpl: fix missing newline for pools

The debian ntp.conf template did not contain a newline for the
comment used to mark the rendered ntp pools configured. This
resulted in an invalid line:

'# poolspool 0.int.pool.ntp.org iburst'

rather than:

'# pools
 pool 0.int.pool.ntp.org iburst'

This patch fixes the template and updates the unittest to
verify that the rendered templates puts servers and pools
at the beginning of a line.

LP: #1836598

a24550a... by Sam Gilson

Cloud-init analyze module: Added ability to analyze boot events.

This branch introduces a new command line feature for cloud-init.
Currently, the cloud-init module has the capability to analyze events in
cloud-init.log in three ways: 'show', 'blame', 'dump'.
These changes add a fourth capability, called 'boot'.
Running the command 'cloud-init analyze boot' will provide the user three
timestamps.
1) Timestamp for when the kernel starts initializing.
2) Timestamp for when the kernel finishes its initialization.
3) Timestamp for when systemd activates cloud-init.
This feature enables cloud-init users to analyze different boot phases.
This would aid in debugging performance issues related
to cloud-init startup or tracking regression.

a6faf3a... by LÉNÁRT János

Update debian eni network configuration location, retain Ubuntu setting

On Debian, ifupdown uses `source-directory /etc/network/interfaces.d`
(for new installs) to include files.
https://salsa.debian.org/debian/ifupdown/blob/master/debian/postinst#L23

The current filename, 50-cloud-init.cfg, does not match against the RE
that is used to scan the directory for configurations (ASCII upper- and
lower-case letters, ASCII digits, ASCII underscores, and ASCII
minus-hyphens):
https://salsa.debian.org/debian/ifupdown/blob/master/interfaces.5.pre#L122

Of course many installations use `source /etc/network/interfaces.d/*`,
but not all.

e5f5421... by Stanislav Makar

net: skip bond interfaces in get_interfaces

bonds may inherit mac address from a physical interface

LP: #1812857

217c893... by Dan Watkins

Fix a couple of issues raised by a coverity scan

* cc_lxd: fix copy/paste error in debug logging
* DataSourceCloudSigma: remove unreachable code
  * This unreachable code was introduced in a refactor (in 2015) which
    removed the need for an exception handler, but retained the logging
    from the exception handler as an unreachable fall-through.

5e4792c... by Markus Schade

Add missing dsname for Hetzner Cloud datasource

b993b0a... by Dan Watkins

doc: indicate that netplan is default in Ubuntu now

feebec1... by Chad Smith

azure: add region and AZ properties from imds compute location metadata

This allows cloud-init query region to show valid region data for Azure

f57a775... by Liao Penghui

sysconfig: support more bonding options

Currently, only a few bonding parameters can be configured on
sysconfig systems. This patch aims to support more parameters
documented on the docs site.