1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-11 17:34:23 +00:00

Update _check_install_source for a change to NFS handling

A change to how anaconda handles NFS repos changed the log
messages we get when we use one. We may need further changes for
using NFS as a base repo when this change hits Rawhide nightly.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2023-03-28 10:26:34 -07:00
parent 5f1636844a
commit 7603b38dec

View File

@ -32,7 +32,9 @@ sub run {
assert_script_run 'grep "Added the \'addrepo\'" /tmp/anaconda.log'; assert_script_run 'grep "Added the \'addrepo\'" /tmp/anaconda.log';
# ...and this tells us it worked (I hope). # ...and this tells us it worked (I hope).
assert_script_run 'grep "Load metadata for the \'addrepo\'" /tmp/anaconda.log'; assert_script_run 'grep "Load metadata for the \'addrepo\'" /tmp/anaconda.log';
assert_script_run 'grep "Loaded metadata from.*file:///run/install/addrepo.nfs" /tmp/anaconda.log'; # addrepo.nfs is from before Fedora 39, sources/mount-1000-nfs-device
# is from F39+
assert_script_run 'grep -E "Loaded metadata from.*file:///run/install/(addrepo.nfs|sources/mount-1000-nfs-device)" /tmp/anaconda.log';
} }
} }
if ($repourl =~ /^hd:/) { if ($repourl =~ /^hd:/) {