diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-06-26 09:33:45 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-06-26 09:34:50 +0200 |
commit | b50f2ffb470eb6cab070166f297219800f91f4c3 (patch) | |
tree | 2234726f1b6d82e7e11eb844914ebb986323f03f /op-mode-definitions | |
parent | de065cb9c423a7248dbdbafc70f1bf7b944dbca8 (diff) | |
download | vyos-1x-b50f2ffb470eb6cab070166f297219800f91f4c3.tar.gz vyos-1x-b50f2ffb470eb6cab070166f297219800f91f4c3.zip |
openvpn: T3641: adjust deprecated "openvpn --genkey" command
WARNING: Using --genkey --secret filename is DEPRECATED.
Use --genkey secret filename instead.
(cherry picked from commit 3ffe114e8e8916d142b82657bd982122e57d17ed)
Diffstat (limited to 'op-mode-definitions')
-rw-r--r-- | op-mode-definitions/openvpn.xml.in | 2 |
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" |