summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-30 15:57:34 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-30 16:00:30 +0100
commit6811c55410ce77caab53a611d5d488edd0679195 (patch)
tree0e11fcf6674a321b5b4a97d8a0ebc5ed5bfb8d73 /scripts
parenteb7958f5cf0fb5d296cd7526bd58d8c9a7e08e45 (diff)
downloadvyos-build-6811c55410ce77caab53a611d5d488edd0679195.tar.gz
vyos-build-6811c55410ce77caab53a611d5d488edd0679195.zip
Testsuite: generate WireGuard default keypair
Now all the loaded configs will support WireGuard interfaces, too. They now cat refer to the default-keypair to secure the link. (cherry picked from commit 1bc9b8dda5254eeace6d1c82cf464e98ca362faa)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/check-qemu-install6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/check-qemu-install b/scripts/check-qemu-install
index 086a1f8d..aa65740f 100755
--- a/scripts/check-qemu-install
+++ b/scripts/check-qemu-install
@@ -350,7 +350,11 @@ try:
# else, run configtest suite
else:
- log.info("Executing load config tests")
+ log.info('Generating a WireGuard default keypair')
+ c.sendline('generate wireguard default-keypair')
+ c.expect(r'vyos@vyos:~\$')
+
+ log.info('Executing load config tests')
c.sendline('/usr/bin/vyos-configtest')
i = c.expect(['\n +Invalid command:', 'No such file or directory',
r'\n\S+@\S+[$#]'], timeout=3600)