mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-25 07:13:09 +00:00
tapnet: don't double-declare @forwards
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
e30fa5a0a1
commit
56b443176a
@ -58,7 +58,6 @@ sub setup_tap_static {
|
||||
sub get_host_dns {
|
||||
# get DNS server addresses from the host. Assumes host uses
|
||||
# systemd-resolved and doesn't use IPv6, for now
|
||||
my @forwards;
|
||||
my $result = `/usr/bin/resolvectl status | grep Servers | tail -1 | cut -d: -f2-`;
|
||||
# FIXME this is gonna break when we have IPv6 DNS servers on the
|
||||
# worker hosts
|
||||
|
Loading…
Reference in New Issue
Block a user