Commit 88becc98 authored by Laine Stump's avatar Laine Stump

networks: remove stray use of brctl command

brctl has been deprecated for a long time, and distros are starting to
remove it. "ip link blah type bridge" should be used instead.
Signed-off-by: default avatarLaine Stump <laine@laine.org>
Reviewed-by: default avatarDaniel P. Berrangé <berrange@redhat.com>
parent b82fead3
......@@ -36,9 +36,9 @@ my $conn = eval { $tck->setup(); };
BAIL_OUT "failed to setup test harness: $@" if $@;
END { $tck->cleanup if $tck; }
((system "brctl addbr tck") == 0) or die "cannot create bridge 'tck'";
((system "ip link add name tck type bridge") == 0) or die "cannot create bridge 'tck'";
END { system "brctl delbr tck" }
END { system "ip link del tck" }
my $b = Sys::Virt::TCK::NetworkBuilder->new(name => "tck");
$b->bridge("tck");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment