From c8cda12ba0ca0382366c53c3960bbdbd9e6f804d Mon Sep 17 00:00:00 2001 From: Trevor Cooper Date: Fri, 18 Feb 2022 19:13:42 -0800 Subject: [PATCH] temporary name resolution support --- tests/_support_server.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/_support_server.pm b/tests/_support_server.pm index bf13a605..5c67c0aa 100644 --- a/tests/_support_server.pm +++ b/tests/_support_server.pm @@ -8,6 +8,9 @@ use tapnet; use utils; sub _pxe_setup { + # This happens before local DNS server is running and dnf will fail. Temporarily add 8.8.8.8 to resolve.conf + assert_script_run "echo 'nameserver 8.8.8.8' >> /etc/resolv.conf"; + # set up PXE server (via dnsmasq). Not used for update tests. # don't get hung up on slow mirrors when DNFing... repos_mirrorlist;