Some cleanups and fix bridge interface bug

This commit is contained in:
2018-10-14 18:35:32 -04:00
parent 199b4bd40e
commit 2e2459c63c
3 changed files with 4 additions and 12 deletions

View File

@ -15,7 +15,7 @@ import re
def get_zookeeper_key():
# Get the interface from environment (passed by dnsmasq)
try:
interface = os.environ['DNSMASQ_INTERFACE']
interface = os.environ['DNSMASQ_BRIDGE_INTERFACE']
except:
exit(1)
# Get the ID of the interface (the digits)