mirror of
https://github.com/vyos/vyos-build.git
synced 2025-10-01 20:28:40 +02:00
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.
This commit is contained in:
parent
2801efd101
commit
1bc9b8dda5
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user