summaryrefslogtreecommitdiff
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 15:59:44 +0100
commit1bc9b8dda5254eeace6d1c82cf464e98ca362faa (patch)
treea4402ac91499edab9aa8a7c8d4472641134da60b
parent2801efd1014df828643ad5f50ee4a93024981174 (diff)
downloadvyos-build-1bc9b8dda5254eeace6d1c82cf464e98ca362faa.tar.gz
vyos-build-1bc9b8dda5254eeace6d1c82cf464e98ca362faa.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.
-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)