~smoser/cloud-init:fix/1796917-ignore-all-zero-macs

Last commit made on 2018-10-09
Get this branch:
git clone -b fix/1796917-ignore-all-zero-macs https://git.launchpad.net/~smoser/cloud-init
Only Scott Moser can upload to this branch. If you are Scott Moser please log in for upload directions.

Branch merges

Branch information

Name:
fix/1796917-ignore-all-zero-macs
Repository:
lp:~smoser/cloud-init

Recent commits

3d91eaa... by Scott Moser

change the comparison.

This should be slightly faster. Compute the string once and then
just do substring matching rather than computing the "zero mac"
for the given length each time.

0206d10... by Scott Moser

rharper feedback: consistent use of tick or double quote on single line.

935d2de... by Scott Moser

net: ignore nics that have "zero" mac address.

Previously we explicitly excluded mac address '00:00:00:00:00:00'.
But then some nics (tunl0 and sit0) ended up having a mac address like
'00:00:00:00'.

The change here just ignores all 00[:00[:00...]].

LP: #1796917

d3e803a... by Scott Moser

Ubuntu: update sources.list to comment out deb-src entries.

Other installation modes began to comment out the deb-src lines in
/etc/apt/sources.list sometime in 16.04 time frame.

This makes the cloud-init rendered sources.list the same as that
currently present in the lxd images.

The changes here are:
 a.) comment out all 'deb-src' lines.
 b.) move security to the bottom of the file.
 c.) trim trailing white space from 3 comment lines.

LP: #74747

e280004... by Scott Moser

release 18.4

Bump the version in cloudinit/version.py to be 18.4 and update ChangeLog.

LP: #1795741

40768ba... by Scott Moser

tests: allow skipping an entire cloud_test without running.

Individual skipTest or setUp SkipTest will still launch the instance.
This allows us to stop the running of the instance so we don't
waste cycles or boot systems that are known to fail.

Also replace remaining unittest usage in tests/cloud_tests/
with unittest2.

c239eb8... by Scott Moser

tests: disable lxd tests on cosmic

Skip lxd tests on cosmic for two reasons:
a.) bug 1795036 - 'lxd init' fails on cosmic kernel.
b.) apt install lxd installs via snap which can be slow
    as that will download core snap and lxd.

fb5015f... by Chad Smith

cii-tests: use unittest2.SkipTest in ntp_chrony due to new deps

Git commitish fc4b966ba928b30b1c586407e752e0b51b1031e8 changed integration
test dependencies from unittest to unittest2. Use unittest2.SkipTest in
test_chrony to avoid causing tracebacks.

facb92c... by Scott Moser

lxd: adjust to snap installed lxd.

Relax expectation on path to lxc and lxd. The deb path still does
install them in /usr/bin/ but that is overly pedantic.

Add a 'lxd waitready' (present since lxd 0.5) to wait until lxd
is ready before operating on it.

fd873fa... by Chad Smith

docs: surface experimental doc in instance-data.json