From: Kairui Song Date: Tue, 20 Oct 2020 09:52:03 +0000 (+0800) Subject: 90qemu-net: install less module for strict hostonly mode X-Git-Tag: 051~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=831e310adfadeb11db5856778e93fb63cae029a9;p=thirdparty%2Fdracut.git 90qemu-net: install less module for strict hostonly mode --- diff --git a/modules.d/90qemu-net/module-setup.sh b/modules.d/90qemu-net/module-setup.sh index f188eaa23..0fa49aa80 100755 --- a/modules.d/90qemu-net/module-setup.sh +++ b/modules.d/90qemu-net/module-setup.sh @@ -17,5 +17,5 @@ check() { # called by dracut installkernel() { # qemu specific modules - hostonly='' instmods virtio_net e1000 8139cp pcnet32 e100 ne2k_pci + hostonly=$(optional_hostonly) instmods virtio_net e1000 8139cp pcnet32 e100 ne2k_pci }