model/peers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
The host information is only part of nginx configuration. So get the
information of the running system to configure federation feature over
openSLP
Signed-off-by: Aline Manera <alinefm@linux.vnet.ibm.com>
---
model/peers.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/model/peers.py b/model/peers.py
index 1be606b..c0dccce 100644
--- a/model/peers.py
+++ b/model/peers.py
@@ -34,7 +34,7 @@ class PeersModel(object):
return
# register server on openslp
- hostname = socket.getfqdn(wok_config.get("server", "host"))
+ hostname = socket.getfqdn()
port = wok_config.get("server", "proxy_port")
self.url = hostname + ":" + port
--
2.9.3
_______________________________________________
Kimchi-devel mailing list
Kimchi-devel@ovirt.org
http://lists.ovirt.org/mailman/listinfo/kimchi-devel
Applied. Thanks. Regards, Aline Manera _______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
Reviewed-by: Daniel Barboza <danielhb@linux.vnet.ibm.com> On 03/21/2017 01:55 PM, Aline Manera wrote: > The host information is only part of nginx configuration. So get the > information of the running system to configure federation feature over > openSLP > > Signed-off-by: Aline Manera <alinefm@linux.vnet.ibm.com> > --- > model/peers.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/model/peers.py b/model/peers.py > index 1be606b..c0dccce 100644 > --- a/model/peers.py > +++ b/model/peers.py > @@ -34,7 +34,7 @@ class PeersModel(object): > return > > # register server on openslp > - hostname = socket.getfqdn(wok_config.get("server", "host")) > + hostname = socket.getfqdn() > port = wok_config.get("server", "proxy_port") > self.url = hostname + ":" + port > _______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
© 2016 - 2024 Red Hat, Inc.