[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [OSSTEST PATCH 32/36] ts-xen-install: Fix bridge setup, ask to copy MAC addr
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 <anthony.perard@xxxxxxxxxx> --- ts-xen-install | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ts-xen-install b/ts-xen-install index 3a913fce..645d8a79 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 .= <<END if ($ho->{Suite} !~ m/wheezy|jessie|stretch|buster/); + bridge_hw $physif END } else { $iface= $physif; -- Anthony PERARD
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |