summaryrefslogtreecommitdiff
path: root/op-mode-definitions/openvpn.xml.in
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-06-26 09:33:45 +0200
committerChristian Poessinger <christian@poessinger.com>2021-06-26 09:33:45 +0200
commit3ffe114e8e8916d142b82657bd982122e57d17ed (patch)
tree8591a4c8f15c275649c12ba1e6e0dd98a3c2d306 /op-mode-definitions/openvpn.xml.in
parenta6b526fd982605cfd984942ae879f7e8bb4638ff (diff)
downloadvyos-1x-3ffe114e8e8916d142b82657bd982122e57d17ed.tar.gz
vyos-1x-3ffe114e8e8916d142b82657bd982122e57d17ed.zip
openvpn: T3641: adjust deprecated "openvpn --genkey" command
WARNING: Using --genkey --secret filename is DEPRECATED. Use --genkey secret filename instead.
Diffstat (limited to 'op-mode-definitions/openvpn.xml.in')
-rw-r--r--op-mode-definitions/openvpn.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/op-mode-definitions/openvpn.xml.in b/op-mode-definitions/openvpn.xml.in
index e9420904a..f8dc0cff0 100644
--- a/op-mode-definitions/openvpn.xml.in
+++ b/op-mode-definitions/openvpn.xml.in
@@ -32,7 +32,7 @@
fi
echo "Generating OpenVPN key to $full_path"
- sudo /usr/sbin/openvpn --genkey --secret "$full_path"
+ sudo /usr/sbin/openvpn --genkey secret "$full_path"
result=$?
if [ $result = 0 ]; then
echo "Your new local OpenVPN key has been generated"