diff --git a/dracut.sh b/dracut.sh index 6215b360..2d1860f0 100755 --- a/dracut.sh +++ b/dracut.sh @@ -1518,6 +1518,7 @@ if [[ $kernel_only != yes ]]; then [ -z "${line[3]}" ] && line[3]="defaults" [ -z "${line[4]}" ] && line[4]="0" [ -z "${line[5]}" ] && line[5]="2" + strstr "${line[2]}" "nfs" && line[5]="0" echo "${line[@]}" >> "${initdir}/etc/fstab" done