~jgrimm/cloud-init:license

Last commit made on 2016-11-22
Get this branch:
git clone -b license https://git.launchpad.net/~jgrimm/cloud-init
Only Jon Grimm can upload to this branch. If you are Jon Grimm please log in for upload directions.

Branch merges

Branch information

Name:
license
Repository:
lp:~jgrimm/cloud-init

Recent commits

5716473... by Jon Grimm

LICENSE: Allow dual licensing GPL-3 or Apache 2.0

This has been a recurring ask and we had initially just made the change to
the cloud-init 2.0 codebase. As the current thinking is we'll just continue
to enhance the current codebase, its desirable to relicense to match what
we'd intended as part of the 2.0 plan here.

- put a brief description of license in LICENSE file
- put full license versions in LICENSE-GPLv3 and LICENSE-Apache2.0
- simplify the per-file header to reference LICENSE
- ignore H102 (Apache License Header check)

6e92c5f... by Scott Moser

net/cmdline: Consider ip= or ip6= on command line not only ip=

The previous behavior would miss ip6= on the command line and
would not pay attention to the written net-* or net6-* files if
only ip6= was found.

The fix here enables parsing the files if either ip= or ip6= is found,
and adds some tests as well.

LP: #1639930

11b1aba... by Joshua Harlow

Just use file logging by default

Instead of being dependent on the availability of syslog that
various distributions may not enable or configure correctly
or they do so via patches just use a known-to-work default
logging mechanism. If distros want to change this, that
is fine, but at least the built-in one will work reliably.

LP: #1643990

0fd1dd0... by Wesley Wiedenmeier

Improve formatting for ProcessExecutionError

This replaces long single lines in a log or console output
with multiple lines that are much easier to read.
It indents the stdout and stderr so logs are more easily
read also.

bc4d9c5... by Scott Moser

flake8: fix trailing white space

7e586f0... by Sean Bright

Doc: various documentation fixes

Several various minor fixes for the readthedocs documentation.

edd94eb... by Brent Baude

cloudinit/config/cc_rh_subscription.py: Remove repos before adding

A user has pointed out that upon set up of a machine, users typically
remove repos (sometimes all of them) and then add repos in. This does
make sense for a typical user.

de07968... by Scott Moser

packages/redhat: fix rpm spec file.

Adjust the redhat spec file to fix errors found during a ./tools/brpm
on centos 6:
  RPM build errors:
    File listed twice: /usr/libexec/cloud-init/uncloud-init
    File listed twice: /usr/libexec/cloud-init/write-ssh-key-fingerprints
    Installed (but unpackaged) file(s) found:
     /etc/NetworkManager/dispatcher.d/hook-network-manager
     /etc/dhcp/dhclient-exit-hooks.d/hook-dhclient

4f0a277... by Ryan Harper

main: set TZ in environment if not already set.

If TZ is not set in environment, then datetime.datetime() will
stat /etc/localtime on every usage. datetime is used in the logging
path of cloud-init, and as such this is very busy.
During a normal cloud-init boot, it results in we roughly
400+ stat calls to /etc/localtime.

The value we set is :/etc/localtime, which is described at
  https://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html

See also merge proposal at 307722 for more background.
https://code.launchpad.net/~raharper/cloud-init/+git/cloud-init/+merge/307722

677b85a... by Scott Moser

Azure: No longer rely on walinux agent.

Cloud-init has for some time relied on walinuxagent to do some bits
of work necessary for instance initialization. That reliance has
not been needed for a while, but we have still defaulted to it.

This change uses the "builtin" path that Daniel Watkins added
some time ago by default. Also, Adjust tests that assumed the
non-__builtin__ Azure agent_command.

LP: #1538522