summaryrefslogtreecommitdiff
path: root/op-mode-definitions/openvpn.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-02-27 19:31:40 +0100
committerGitHub <noreply@github.com>2023-02-27 19:31:40 +0100
commitdfd88d01a7ed367bb693836bc71ce11a516f3261 (patch)
tree20e98899b0835da33541de99405cd987583dd20f /op-mode-definitions/openvpn.xml.in
parent4621cfc37a6088059d11c5adf2f33224e3435332 (diff)
parenta483281e5fd9db394c0dce3359d91599ba55adf8 (diff)
downloadvyos-1x-dfd88d01a7ed367bb693836bc71ce11a516f3261.tar.gz
vyos-1x-dfd88d01a7ed367bb693836bc71ce11a516f3261.zip
Merge pull request #1856 from jestabro/list-interfaces
op-mode: T4952: use list_interfaces from vyos-utils
Diffstat (limited to 'op-mode-definitions/openvpn.xml.in')
-rw-r--r--op-mode-definitions/openvpn.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/openvpn.xml.in b/op-mode-definitions/openvpn.xml.in
index 0a2657398..0aa9c3209 100644
--- a/op-mode-definitions/openvpn.xml.in
+++ b/op-mode-definitions/openvpn.xml.in
@@ -20,7 +20,7 @@
<properties>
<help>Reset OpenVPN process on interface</help>
<completionHelp>
- <path>interfaces openvpn</path>
+ <script>sudo ${vyos_completion_dir}/list_interfaces --type openvpn</script>
</completionHelp>
</properties>
<command>sudo ${vyos_op_scripts_dir}/openvpn.py reset --interface $4</command>
@@ -51,7 +51,7 @@
<properties>
<help>Show OpenVPN interface information</help>
<completionHelp>
- <path>interfaces openvpn</path>
+ <script>sudo ${vyos_completion_dir}/list_interfaces --type openvpn</script>
</completionHelp>
</properties>
<command>${vyos_op_scripts_dir}/interfaces.py show --intf_name=$4</command>