Merge lp:~cjwatson/launchpad-buildd/lxd-hostname into lp:launchpad-buildd
Proposed by
Colin Watson
Status: | Merged | ||||
---|---|---|---|---|---|
Merged at revision: | 336 | ||||
Proposed branch: | lp:~cjwatson/launchpad-buildd/lxd-hostname | ||||
Merge into: | lp:launchpad-buildd | ||||
Diff against target: |
129 lines (+39/-5) 3 files modified
debian/changelog (+7/-0) lpbuildd/target/lxd.py (+6/-2) lpbuildd/target/tests/test_lxd.py (+26/-3) |
||||
To merge this branch: | bzr merge lp:~cjwatson/launchpad-buildd/lxd-hostname | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
William Grant | code | Approve | |
Review via email: mp+337127@code.launchpad.net |
Commit message
Set the hostname and FQDN of LXD containers to match the host system, though with an IP address pointing to the container.
Description of the change
Otherwise we break livecd-rootfs code that, for better or worse, adjusts its behaviour (mainly internal hostnames, I think) depending on whether it's being built on a buildd.
To post a comment you must log in.
FWIW, this isn't *just* about livecd-rootfs, it's also nice for the build to actually know the hostname for debugging porpoises.