Fix Regression/ipv6-tapset-support for modern Fedoras

This commit is contained in:
Martin Cermak 2023-10-13 23:05:42 +02:00
parent b7cac72f19
commit 5d53a19f79

View File

@ -28,6 +28,7 @@
# Include Beaker environment # Include Beaker environment
. /usr/share/beakerlib/beakerlib.sh || exit 1 . /usr/share/beakerlib/beakerlib.sh || exit 1
. /etc/os-release || exit 1
rlJournalStart rlJournalStart
rlPhaseStartSetup rlPhaseStartSetup
@ -45,6 +46,7 @@ rlJournalStart
sleep 5 sleep 5
NFS_SERVICE=nfs NFS_SERVICE=nfs
rlIsRHEL '>=8' && NFS_SERVICE=nfs-server rlIsRHEL '>=8' && NFS_SERVICE=nfs-server
[ $ID == 'fedora' ] && test $VERSION_ID -ge 38 && NFS_SERVICE=nfs-server
rlServiceStart $NFS_SERVICE rlServiceStart $NFS_SERVICE
sleep 10 sleep 10
rlRun "exportfs -ua" rlRun "exportfs -ua"