node1: print network configuration on start

This commit is contained in:
Jörg Thalheim 2022-11-27 16:55:25 +00:00
parent b70c9d2fe9
commit 7f2ba67850

View file

@ -85,6 +85,10 @@ in makeTest' {
node1.connected = False node1.connected = False
node1.connect() node1.connect()
node1.wait_for_unit("multi-user.target") node1.wait_for_unit("multi-user.target")
node1.wait_for_unit("network-online.target")
node1.succeed("ip addr >&2")
node1.succeed("ip route >&2")
node1.succeed("ip -6 route >&2")
node1.wait_for_unit("sshd.service") node1.wait_for_unit("sshd.service")
host_ed25519_before = node1.succeed("cat /etc/ssh/ssh_host_ed25519_key.pub") host_ed25519_before = node1.succeed("cat /etc/ssh/ssh_host_ed25519_key.pub")