mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2025-01-12 11:58:59 +00:00
Check for NFS repo message in anaconda.log too
It seems to have moved there in F27.
This commit is contained in:
parent
ee2a3daefd
commit
d119e1e53e
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@ sub run {
|
|||
if ($repourl =~ s/^nfs://) {
|
||||
# the above both checks if we're dealing with an NFS URL, and
|
||||
# strips the 'nfs:' from it if so
|
||||
assert_script_run "grep 'mounting ${repourl}' /tmp/packaging.log";
|
||||
# message is in packaging.log up to F26, anaconda.log F27+
|
||||
assert_script_run "grep 'mounting ${repourl}' /tmp/packaging.log /tmp/anaconda.log";
|
||||
}
|
||||
else {
|
||||
assert_script_run "grep \"added repo: 'anaconda'.*${repourl}\" /tmp/packaging.log";
|
||||
|
|
Loading…
Reference in a new issue