remove unnecessary virio-net from kvm.modules
This commit is contained in:
parent
abd594bf31
commit
f7e102ac55
@ -2,12 +2,10 @@
|
||||
|
||||
if [ $(grep -c vmx /proc/cpuinfo) -ne 0 ]; then
|
||||
modprobe -b kvm-intel >/dev/null 2>&1
|
||||
modprobe -b virtio-net >/dev/null 2>&1
|
||||
modprobe -b vhost-net >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
if [ $(grep -c svm /proc/cpuinfo) -ne 0 ]; then
|
||||
modprobe -b kvm-amd >/dev/null 2>&1
|
||||
modprobe -b virtio-net >/dev/null 2>&1
|
||||
modprobe -b vhost-net >/dev/null 2>&1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user