From 415e14b1e8d4896f7356c690971a8164ef9a4fed Mon Sep 17 00:00:00 2001 From: Anthony PERARD Date: Mon, 29 Jan 2024 12:06:25 +0000 Subject: [PATCH] ts-xen-install: Fix bridge setup, ask to copy MAC addr MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit This ask to copy the MAC address from $physif on the bridge. On Debian Bookworm, when running as a Xen guest for nested tests, the bridge does get a random MAC address and a different IP address from DHCP than before setting up the bridge, so the test fails. Signed-off-by: Anthony PERARD Acked-by: Roger Pau Monné --- ts-xen-install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ts-xen-install b/ts-xen-install index 3a913fc..645d8a7 100755 --- a/ts-xen-install +++ b/ts-xen-install @@ -312,6 +312,9 @@ sub ensurebridge () { bridge_ports $physif bridge_fd 0 bridge_stp off +END + $bridgex .= <{Suite} !~ m/wheezy|jessie|stretch|buster/); + bridge_hw $physif END } else { $iface= $physif; -- 2.39.5