diff options
author | hagbard <vyosdev@derith.de> | 2019-09-06 14:46:43 -0700 |
---|---|---|
committer | hagbard <vyosdev@derith.de> | 2019-09-06 14:50:55 -0700 |
commit | 189ae4f7096abf7ca7100a4a31e038ce9e3e19c2 (patch) | |
tree | 881ccad7b8bf16ebbf89022925050822b07c7c33 /python | |
parent | 26ace9a7b92020bffebe85897cd3790342820612 (diff) | |
download | vyos-1x-189ae4f7096abf7ca7100a4a31e038ce9e3e19c2.tar.gz vyos-1x-189ae4f7096abf7ca7100a4a31e038ce9e3e19c2.zip |
[wireguard] - T1639: wireguard pubkey change error
- sudo added to wg call
- debug print removed when pubkey changes
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/ifconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig.py b/python/vyos/ifconfig.py index 0479e3672..5b1c11a47 100644 --- a/python/vyos/ifconfig.py +++ b/python/vyos/ifconfig.py @@ -1349,7 +1349,7 @@ class WireGuardIf(Interface): # fmask permission check? pass - cmd = "wg set {} ".format(self._ifname) + cmd = "sudo wg set {} ".format(self._ifname) cmd += "listen-port {} ".format(self.config['port']) cmd += "fwmark {} ".format(str(self.config['fwmark'])) cmd += "private-key {} ".format(self.config['private-key']) |