]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90qemu-net: install less module for strict hostonly mode
authorKairui Song <kasong@redhat.com>
Tue, 20 Oct 2020 09:52:03 +0000 (17:52 +0800)
committerHarald Hoyer <harald@hoyer.xyz>
Fri, 30 Oct 2020 09:13:37 +0000 (10:13 +0100)
modules.d/90qemu-net/module-setup.sh

index f188eaa234f4035fbe886fd637751b738b1035f9..0fa49aa8020c3aab42b2a60a1f6f5d389fa30c7f 100755 (executable)
@@ -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
 }