From 4768cae603ccece393b137ac19a94ae1eaa268dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Walstr=C3=B6m?= Date: Tue, 14 Nov 2023 13:07:35 +0100 Subject: [PATCH] Expose ports 9000-9050 for console connections outside docker --- test/env | 1 + test/virt/dual/topology.dot.in | 2 ++ 2 files changed, 3 insertions(+) diff --git a/test/env b/test/env index ad68a0c8..98362340 100755 --- a/test/env +++ b/test/env @@ -138,6 +138,7 @@ if [ "$containerize" ]; then exec $runner run \ --cap-add=NET_ADMIN \ --device=/dev/net/tun \ + --expose 9000-9050 \ --interactive \ --rm \ --security-opt seccomp=unconfined \ diff --git a/test/virt/dual/topology.dot.in b/test/virt/dual/topology.dot.in index f2a1d4c6..f5933277 100644 --- a/test/virt/dual/topology.dot.in +++ b/test/virt/dual/topology.dot.in @@ -20,11 +20,13 @@ graph "dual" { label="{ eth0 | eth1 | eth2 } | dut1 | { eth3 | eth4 | eth5 }", pos="10,18!", kind="infix", + qn_console=9001 ]; dut2 [ label="{ eth0 | eth1 | eth2 } | dut2 | { eth3 | eth4 | eth5 }", pos="10,12!", kind="infix", + qn_console=9002 ]; host:d1a -- dut1:eth0 [kind=mgmt]