Use fqdn, I guess..
This commit is contained in:
parent
44fa065f03
commit
4a229675ef
1 changed files with 2 additions and 1 deletions
|
@ -10,7 +10,8 @@ import time
|
|||
import zmq
|
||||
|
||||
|
||||
hostname = socket.gethostname().split('.')[0]
|
||||
#hostname = socket.gethostname().split('.')[0]
|
||||
hostname = socket.gethostname() # Use FQDN, I guess..
|
||||
|
||||
|
||||
def print_consumer(service, consumer):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue