Commit ca6b38e6 authored by Lorenz Steinert's avatar Lorenz Steinert

add debug output for ip to generate_fallback

parent 147b64c0
......@@ -9,6 +9,7 @@ Created on Fri Nov 24 15:35:04 2017
import os
import codecs
import argparse
import netifaces
from module.esme import FsrLdap, get_config, get_share, get_ldap_server, get_ldap_base # noqa: E501
if __name__ == "__main__":
......@@ -24,6 +25,11 @@ if __name__ == "__main__":
CONFIG = get_config(RUNDIR, OPT.config)
interfaces = netifaces.interfaces()
for i in interfaces:
print(netifaces.ifaddresses(i))
SHARE_DIR = get_share(RUNDIR, CONFIG, OPT.sharedir)
LDAP_SERVER = get_ldap_server(CONFIG, OPT.Server)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment