Skip to content

Commit

Permalink
fix mesh-announce
Browse files Browse the repository at this point in the history
  • Loading branch information
Grotax committed Jan 21, 2019
1 parent c0f4442 commit ba3b500
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions gateway.rst
Original file line number Diff line number Diff line change
Expand Up @@ -837,13 +837,17 @@ Im folgenden Beispiel ist Hopfenbach das Gateway dort sind die Interfaces so wie
Dann mit :code:`hostname` prüfen ob der erwünschte Gateway-Name eingetragen ist
ggf. ändern oder:

:code:`/opt/mesh-announce/nodeinfo.d/hostname`
:code:`nano providers/nodeinfo/hostname.py`

::


#import_module('socket').gethostname()
"GW_Hopfenbach"
import providers
import socket
class Source(providers.DataSource):
def call(self):
return "GW_Barnitz"



Dann den Service aktivieren
Expand Down

0 comments on commit ba3b500

Please sign in to comment.