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
parent
5817934936
commit
3b45c7e1a0
|
@ -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…
Reference in New Issue