[node-patches] Change in ovirt-node[ovirt-3.6]: Set the canonical name in /etc/hosts with augeas, not aliases

rbarry at redhat.com rbarry at redhat.com
Thu Apr 7 13:14:23 UTC 2016


Ryan Barry has submitted this change and it was merged.

Change subject: Set the canonical name in /etc/hosts with augeas, not aliases
......................................................................


Set the canonical name in /etc/hosts with augeas, not aliases

As it turns out, augeas will happily leave a localhost.localdomain
canonical hostname, even if all aliases are removed.

Set the canonical field with the new hostname instead, and add
the localhost aliases after that

Change-Id: I654295af494243bf03f6ba428ad51fa643414f59
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1318992
Signed-off-by: Ryan Barry <rbarry at redhat.com>
(cherry picked from commit b1a9baaac2882906d8426c1d4e59431aa89efef0)
---
M src/ovirt/node/config/defaults.py
1 file changed, 3 insertions(+), 2 deletions(-)

Approvals:
  Ryan Barry: Verified; Looks good to me, approved; Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/55814
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I654295af494243bf03f6ba428ad51fa643414f59
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: ovirt-3.6
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ryan Barry <rbarry at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the node-patches mailing list