Merge lp:~rvb/maas/1081701-c-bis into lp:~maas-committers/maas/trunk
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Raphaël Badin | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 1381 | ||||
Proposed branch: | lp:~rvb/maas/1081701-c-bis | ||||
Merge into: | lp:~maas-committers/maas/trunk | ||||
Diff against target: |
357 lines (+77/-39) 8 files modified
src/maasserver/api.py (+4/-4) src/maasserver/preseed.py (+23/-17) src/maasserver/tests/test_api.py (+26/-2) src/maasserver/tests/test_dns.py (+2/-2) src/maasserver/tests/test_preseed.py (+11/-9) src/maasserver/tests/test_server_address.py (+3/-3) src/maastesting/factory.py (+7/-0) src/metadataserver/api.py (+1/-2) |
||||
To merge this branch: | bzr merge lp:~rvb/maas/1081701-c-bis | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gavin Panella (community) | Approve | ||
Review via email: mp+136357@code.launchpad.net |
Commit message
Fix the value of 'server_host' in the preseed.
Description of the change
This fixes a bug in the preseed generation. I just spotted that the preseed was still using "server_host = get_maas_
This was not caught by the tests in place for a stupid reason: "self.assertTha
To fix that I had to refactor the preseed code a bit: instead of passing the url around, we pass the nodegroup. I think it's all for the best: extracting maas_url from nodegroup is done only in the preseed code.