Fabian Deutsch has submitted this change and it was merged.

Change subject: network: Use pythonic method to retrieve the active hostname
......................................................................


network: Use pythonic method to retrieve the active hostname

Previously we read a file to determin the hostanme, but that file
is not present in all distros.
Now we use socket.gethostname() to determin the hostanem, instead of
relying on that file.

Change-Id: I7522def9aafb18be7dfc7b13c35f0ed0b45583a8
Signed-off-by: Douglas Schilling Landgraf <[email protected]>
---
M src/ovirt/node/config/network.py
1 file changed, 3 insertions(+), 11 deletions(-)

Approvals:
  Fabian Deutsch: Verified; Looks good to me, approved; Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I7522def9aafb18be7dfc7b13c35f0ed0b45583a8
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Douglas Schilling Landgraf <[email protected]>
Gerrit-Reviewer: Anatoly Litovsky <[email protected]>
Gerrit-Reviewer: Douglas Schilling Landgraf <[email protected]>
Gerrit-Reviewer: Fabian Deutsch <[email protected]>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Ryan Barry <[email protected]>
Gerrit-Reviewer: [email protected]
_______________________________________________
node-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/node-patches

Reply via email to