vbox-modules.d
This commit is contained in:
parent
ef4761b2db
commit
16d105ffb4
|
@ -4,3 +4,10 @@ getent group vboxusers &> /dev/null || groupadd -f -g 108 vboxusers
|
|||
|
||||
# Load new udev rule for module vboxdrv
|
||||
udevadm control --reload-rules
|
||||
|
||||
[ ! -f /etc/sysconfig/modules.d/virtualbox.conf ] && cat > /etc/sysconfig/modules.d/virtualbox.conf << "EOF"
|
||||
vboxdrv
|
||||
vboxnetadp
|
||||
vboxnetflt
|
||||
vboxpci
|
||||
EOF
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
#!/bin/sh
|
||||
[ -f /etc/sysconfig/modules.d/virtualbox.conf ] && rm /etc/sysconfig/modules.d/virtualbox.conf
|
Loading…
Reference in New Issue