sudo fix
This commit is contained in:
parent
58daf8191e
commit
7e91f60c0a
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue