Merge lp:~bac/launchpad/bug-981114 into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Gary Poster on 2012-04-13 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 15102 |
| Proposed branch: | lp:~bac/launchpad/bug-981114 |
| Merge into: | lp:launchpad |
| Diff against target: |
25 lines (+8/-0) 1 file modified
utilities/setuplxc.py (+8/-0) |
| To merge this branch: | bzr merge lp:~bac/launchpad/bug-981114 |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Gary Poster (community) | 2012-04-13 | Approve on 2012-04-13 | |
|
Review via email:
|
|||
Commit Message
Set /etc/mailname for the containers to avoid errors caused by no bzr whoami.
Description of the Change
= Summary =
Tests fail if /etc/mailname is not set, which is not a problem for
developer machines but is for lxc containers.
== Proposed fix ==
Set /etc/mailname to be 'localhost'.
== Pre-implementation notes ==
Discussions with Gary.
== Implementation details ==
As above.
== Tests ==
None
== Demo and Q/A ==
Run setuplxc and verify /etc/mailname is there and that the following
tests pass:
bin/test -vvt test_uncommit_
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
utilities/
| Gary Poster (gary) wrote : | # |
I talked with bac about making the file from the host in Python rather than in the container via bash. I didn't care a ton, but he said he would pursue.
| Brad Crittenden (bac) wrote : | # |
I made the change to update the file via the slave host. Good suggestion.

Cool thank you