blob: 0fa49aa8020c3aab42b2a60a1f6f5d389fa30c7f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/bash
# called by dracut
check() {
if [[ $hostonly ]]; then
return 255
fi
if [[ $mount_needs ]]; then
is_qemu_virtualized && return 0
return 255
fi
return 0
}
# called by dracut
installkernel() {
# qemu specific modules
hostonly=$(optional_hostonly) instmods virtio_net e1000 8139cp pcnet32 e100 ne2k_pci
}
|