Merge ~larsks/cloud-init:bug/1647910 into cloud-init:master
Proposed by
Lars Kellogg-Stedman
Status: | Merged |
---|---|
Merged at revision: | c01129492f046fdf745b432b6035605c9c613655 |
Proposed branch: | ~larsks/cloud-init:bug/1647910 |
Merge into: | cloud-init:master |
Diff against target: |
13 lines (+2/-0) 1 file modified
cloudinit/sources/__init__.py (+2/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser | Pending | ||
Review via email: mp+312612@code.launchpad.net |
Description of the change
If no data source is available and the local hostname is set to "localhost.
127.0.0.1 localhost localhost.
Then in sources/__init__.py in get_hostname:
- util.get_hostname() will return 'localhost.
- util.get_
- 'toks' will be set to [ 'localhost.
And ultimately the system hostname will be set to 'localhost.
To post a comment you must log in.
one question inline