summaryrefslogtreecommitdiff
path: root/scripts/check-qemu-install
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2021-07-21 19:30:40 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2021-07-21 19:34:12 +0200
commitba5719b32a8863fc0aef5d544cb6b99b138db51e (patch)
treec0675e0eea72f387d0f2c9104325da79b42129d2 /scripts/check-qemu-install
parent07b8eddeb2cdea8bb578312383d4ec0bd9b35ce0 (diff)
downloadvyos-build-ba5719b32a8863fc0aef5d544cb6b99b138db51e.tar.gz
vyos-build-ba5719b32a8863fc0aef5d544cb6b99b138db51e.zip
pki: openvpn: T3642: Generate test keys using openvpn binary, previous op-mode command removed
Diffstat (limited to 'scripts/check-qemu-install')
-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'