temporary name resolution support

This commit is contained in:
Trevor Cooper 2022-02-18 19:13:42 -08:00 committed by Trevor Cooper
parent b86f44488b
commit c8cda12ba0

View File

@ -8,6 +8,9 @@ use tapnet;
use utils; use utils;
sub _pxe_setup { 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. # set up PXE server (via dnsmasq). Not used for update tests.
# don't get hung up on slow mirrors when DNFing... # don't get hung up on slow mirrors when DNFing...
repos_mirrorlist; repos_mirrorlist;