lp:~james-hogarth/cloud-init

Owned by James Hogarth
Get this repository:
git clone https://git.launchpad.net/~james-hogarth/cloud-init
Only James Hogarth can upload to this repository. If you are James Hogarth please log in for upload directions.

Branches

Name Last Modified Last Commit
net-tools-deprecation 2017-11-14 23:00:02 UTC 2017-11-14
handle new and old net-tools ifconfig output

Author: James Hogarth
Author Date: 2017-11-14 23:00:02 UTC

handle new and old net-tools ifconfig output

this simplifies the parsing of the ifconfig output and
fixes issues with gathering the ipv6 information when
relying on the net-tools ifconfig command

master 2017-11-06 22:39:00 UTC 2017-11-06
tests: integration test cleanup and full pass of nocloud-kvm.

Author: Scott Moser
Author Date: 2017-11-06 22:39:00 UTC

tests: integration test cleanup and full pass of nocloud-kvm.

Integration test harness changes:
 * Enable collection of console log in nocloud-kvm and lxd.
 * Collect the console log to results for all test runs.
 * change 'tmpfile' to pick name locally instead of using 'mktemp'.
 * drop the 'instance' attribute from nocloud-kvm Image and
   demote LXDImage.instance to a private attribute.
   This is because Images do not actually have instances.
   (LXDImage internally uses a booted system to modify the image).
 * Add 'TargetBase' as a superclass of Image and Instance providing
   implementations of execute, read_data, write_data, pull_file,
   and push_file. These all depend on an implementation of _execute.
 * Improve '_execute' implementations to support accepting stdin.
 * execute supports 'rcs=False' meaning 'do not raise exception'.
 * Drop support for pylxd < 2.2. older versions cannot determine
   exit code of 'execute', which makes them unusable.
 * make NoCloudKVMInstance._execute run as root via sudo. This required
   some changes so that 'hostname' could be reverse-looked up in order
   to avoid sudo taking a long time (~20 seconds).
 * re-use existing ssh connection in nocloud-kvm.

Test changes here:
 * do not use /tmp, but rather /var/tmp (LP: #1707222)
 * make keys_to_console assertions more strict.
 * change user test cases to always add default (ubuntu) user
   so that nocloud-kvm's execute which operates over ssh can work.

12 of 2 results
This repository contains Public information 
Everyone can see this information.

Subscribers