summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-07-22 22:38:02 +0200
committerGitHub <noreply@github.com>2021-07-22 22:38:02 +0200
commit446092c3a28362743e1952d8bc70925dad8a3616 (patch)
tree216219eb88c44c39ed136f79328f08bd43aeee8b
parent8e28d6987e28c9ad204ac83a9870470b5fc7d8dd (diff)
parentba5719b32a8863fc0aef5d544cb6b99b138db51e (diff)
downloadvyos-build-446092c3a28362743e1952d8bc70925dad8a3616.tar.gz
vyos-build-446092c3a28362743e1952d8bc70925dad8a3616.zip
Merge pull request #178 from sarthurdev/pki_openvpn
pki: openvpn: T3642: Generate test keys using openvpn binary, previous op-mode command removed
-rwxr-xr-xscripts/check-qemu-install4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install
index ad3f9f45..0a12d5d3 100755
--- a/scripts/check-qemu-install
+++ b/scripts/check-qemu-install
@@ -385,9 +385,9 @@ try:
c.expect(op_mode_prompt, timeout=600)
c.sendline(f'openssl dhparam -out {dh_pem} 2048')
c.expect(op_mode_prompt, timeout=600)
- c.sendline(f'generate openvpn key {s2s_key}')
+ c.sendline(f'openvpn --genkey secret {s2s_key}')
c.expect(op_mode_prompt)
- c.sendline(f'generate openvpn key {auth_key}')
+ c.sendline(f'openvpn --genkey secret {auth_key}')
c.expect(op_mode_prompt)
script_file = '/config/scripts/vyos-foo-update.script'