From 6811c55410ce77caab53a611d5d488edd0679195 Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 30 Jan 2021 15:57:34 +0100 Subject: 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) --- scripts/check-qemu-install | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'scripts') 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) -- cgit v1.2.3