mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-22 18:33:07 +00:00
support nfsvers=x parameter as nfs option
Required to validate bypass for pending bug https://bugzilla.redhat.com/show_bug.cgi?id=1386059 Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
This commit is contained in:
parent
c086b3c0c1
commit
9aa83cffd1
@ -17,8 +17,9 @@ sub run {
|
||||
# check that the repo was used
|
||||
$self->root_console;
|
||||
if ($repourl =~ s/^nfs://) {
|
||||
$repourl =~ s/^nfsvers=.://;
|
||||
# the above both checks if we're dealing with an NFS URL, and
|
||||
# strips the 'nfs:' from it if so
|
||||
# strips the 'nfs:' and 'nfsvers=.:' from it if so
|
||||
# message is in packaging.log up to F26, anaconda.log F27+
|
||||
assert_script_run "grep 'mounting ${repourl}' /tmp/packaging.log /tmp/anaconda.log";
|
||||
}
|
||||
|
@ -49,8 +49,9 @@ sub run {
|
||||
}
|
||||
elsif (get_var("REPOSITORY_GRAPHICAL")) {
|
||||
$repourl = get_full_repo(get_var("REPOSITORY_GRAPHICAL"));
|
||||
# strip the 'nfs:' for typing here
|
||||
# strip the nfs and nfsvers prefix if present for typing here
|
||||
$repourl =~ s/^nfs://;
|
||||
$repourl =~ s/^nfsvers=.://;
|
||||
type_safely $repourl;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user