diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-30 15:57:34 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-30 16:00:30 +0100 |
commit | 6811c55410ce77caab53a611d5d488edd0679195 (patch) | |
tree | 0e11fcf6674a321b5b4a97d8a0ebc5ed5bfb8d73 /scripts | |
parent | eb7958f5cf0fb5d296cd7526bd58d8c9a7e08e45 (diff) | |
download | vyos-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-x | scripts/check-qemu-install | 6 |
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) |