summaryrefslogtreecommitdiff
path: root/op-mode-definitions/openvpn.xml.in
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2023-02-27 11:21:51 -0600
committerJohn Estabrook <jestabro@vyos.io>2023-02-27 11:21:51 -0600
commita483281e5fd9db394c0dce3359d91599ba55adf8 (patch)
treec31c0dbd753e71a025c8ce483c01b60e18b3231e /op-mode-definitions/openvpn.xml.in
parent1cc8d7c89459ecfe315cab47458af5cc00d975ca (diff)
downloadvyos-1x-a483281e5fd9db394c0dce3359d91599ba55adf8.tar.gz
vyos-1x-a483281e5fd9db394c0dce3359d91599ba55adf8.zip
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>