lp://staging/~gfidente/cloud-init/try_fqdn_from_hosts
- Get this branch:
- bzr branch lp://staging/~gfidente/cloud-init/try_fqdn_from_hosts
Branch merges
- cloud-init Commiters: Pending requested
-
Diff: 139 lines (+96/-5)2 files modifiedcloudinit/util.py (+9/-5)
tests/unittests/test_util.py (+87/-0)
Branch information
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 - 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
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