Skip to content

Commit

Permalink
NFSv2 dropped also on 15-SP6
Browse files Browse the repository at this point in the history
  • Loading branch information
dzedro committed Nov 8, 2024
1 parent 1714819 commit f79bd17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/nfs_common.pm
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ sub try_nfsv2 {
assert_script_run "cat /proc/fs/nfsd/versions | grep '\\-2'";

# Stop testing NFSv2 on tumbleweed, support is removed in nfs-utils
if (is_sle('15+') && is_sle("<15-sp7")) {
if (is_sle('15+') && is_sle("<15-sp6")) {
file_content_replace("/etc/sysconfig/nfs", "MOUNTD_OPTIONS=.*" => "MOUNTD_OPTIONS=\"-V2\"", "NFSD_OPTIONS=.*" => "NFSD_OPTIONS=\"-V2\"");
systemctl 'restart nfs-server';
assert_script_run "cat /proc/fs/nfsd/versions | grep '+2'";
Expand Down

0 comments on commit f79bd17

Please sign in to comment.