Merge ~nrezinorn/cloud-init:fix_systemd_hostname into cloud-init:master
Proposed by
Jim Gorz
Status: | Work in progress |
---|---|
Proposed branch: | ~nrezinorn/cloud-init:fix_systemd_hostname |
Merge into: | cloud-init:master |
Diff against target: |
17 lines (+3/-3) 1 file modified
cloudinit/distros/rhel.py (+3/-3) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Server Team CI bot | continuous-integration | Needs Fixing | |
Scott Moser | Needs Information | ||
Joshua Harlow (community) | Approve | ||
Review via email: mp+306562@code.launchpad.net |
Description of the change
cloud-init was not properly running hostnamectl on first boot. this fixes the systemd handling logic and works :)
To post a comment you must log in.
Unmerged commits
- bd571d6... by Jim Gorz <email address hidden>
It seems to me that we should not be calling
['hostnamectl', 'set-hostname', str(hostname)]
from _write_hostname at all
but rather from _apply_hostname.
Can you please test a change made where we drop the call to hostnamectl here, and instead do it in _apply_hostname ?