This commit is contained in:
Nico Schottelius 2020-01-24 14:10:08 +01:00
parent 58daf8191e
commit 7e91f60c0a

View file

@ -32,6 +32,8 @@ class VXLANBridge(object):
if use_sudo: if use_sudo:
self.config['sudo'] = 'sudo ' self.config['sudo'] = 'sudo '
else:
self.config['sudo'] = ''
self.config['vni_dec'] = vni self.config['vni_dec'] = vni
self.config['vni_hex'] = "{:x}".format(vni) self.config['vni_hex'] = "{:x}".format(vni)