Browse Source

95nfs: Install less module if hostonly mode is strict

For strict hostonly mode, only install currently loaded modules instead
of a bunch of driver that may not be needed.

Signed-off-by: Kairui Song <kasong@redhat.com>
master
Kairui Song 4 years ago committed by Harald Hoyer
parent
commit
3b45c7e1a0
  1. 2
      modules.d/95nfs/module-setup.sh

2
modules.d/95nfs/module-setup.sh

@ -38,7 +38,7 @@ depends() { @@ -38,7 +38,7 @@ depends() {

# called by dracut
installkernel() {
hostonly='' instmods =net/sunrpc =fs/nfs ipv6 nfs_acl nfs_layout_nfsv41_files
hostonly=$(optional_hostonly) instmods =net/sunrpc =fs/nfs ipv6 nfs_acl nfs_layout_nfsv41_files
}

cmdline() {

Loading…
Cancel
Save