lp://staging/~gfidente/cloud-init/try_fqdn_from_hosts

Created by Giulio Fidente and last modified
Get this branch:
bzr branch lp://staging/~gfidente/cloud-init/try_fqdn_from_hosts
Only Giulio Fidente can upload to this branch. If you are Giulio Fidente please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Giulio Fidente
Project:
cloud-init
Status:
Development

Recent revisions

1222. By Giulio Fidente

Ensure temporary 'hosts' file used for testing is deleted via addCleanup

While tearDown is not executed in case of errors raised during the setUp
phase while addCleanup is; this change updates test_util.py so that the
temporary 'hosts' file created to run some unit tests is deleted in
addCleanup instead of tearDown.

1221. By Giulio Fidente

Fix test_from_cloud()

The FakeCloudWithDomain provider was incorrectly returning the fqdn
when called with fqdn=False

1220. By Giulio Fidente

Adds unit tests for util.py

This adds seven new unit tests are meant to cover get_hostname_fqdn() and
get_fqdn_from_hosts() from util.py

1219. By Giulio Fidente

Ensure fqdn is not left to None if get_fqdn_from_hosts returns None

1218. By Giulio Fidente

Try get_fqdn_from_hosts if get_hostname(fqdn=True) is unable to find one

1217. By Joshua Harlow

Enable flake8 and fix a large amount of reported issues

1216. By Scott Moser

fix timestamp in reporting events.

If no timestamp was passed into a ReportingEvent, then the default was
used. That default was 'time.time()' which was evaluated once only at
import time.

1215. By Scott Moser

Paths: fix instance path if datasource's id has a '/'.

If the datasource's instance id contained a '/' then the instance_id path
would not be as expected under /var/lib/cloud/instances/instance_id.

1214. By Scott Moser

Config Drive: fix check_instance_id signature.

After reboot cloud-init would fail as the previously pickled object
would have a check_instance_id signature but it didn't match expected

1213. By Dan Watkins

cloudstack: Only use DHCPv4 lease files as a datasource

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp://staging/~cloud-init-dev/cloud-init/trunk
This branch contains Public information 
Everyone can see this information.

Subscribers