Skip to content

Commit 4deb90a

Browse files
committed
fix bridge interface pxe boot case get incorrect gateway
in teardown function, the utils_net.delete_linux_bridge_tmux should use iface_name var to make host interface get ip by dhclient Signed-off-by: nanli <[email protected]>
1 parent fb4decf commit 4deb90a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libvirt/tests/src/virtual_network/rom/iface_rom_disable_pxe_boot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def teardown_test():
6060
Clean up test environment
6161
"""
6262
test.log.debug("TEST_TEARDOWN: Recover the env.")
63-
utils_net.delete_linux_bridge_tmux(bridge_name, host_iface)
63+
utils_net.delete_linux_bridge_tmux(bridge_name, iface_name)
6464
bkxml.sync()
6565

6666
vm_name = guest_os.get_vm(params)

0 commit comments

Comments
 (0)