forked from oVirt/ovirt-hosted-engine-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
network: fixing hostname - interface enforcing for DHCP setups
https://gerrit.ovirt.org/#/c/53142/ is enforcing that the hostname resolves on the interface where we are going to create the bridge on. Vds_info.network on the other side wasn't returning an ip addr if the interface was configured for DHCP so this enforcing was always failing if the user rely on DHCP. Fixing it. Simply using socket.getfqdn() on additional hosts. Change-Id: Ie09301e6142c8bc6b009b02ae252bcac78b2f063 Bug-Url: https://bugzilla.redhat.com/1308333 Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
- Loading branch information
1 parent
9edcb21
commit 4e2180b
Showing
2 changed files
with
60 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters