virtualbox.kur-kos 380 B

123456789101112131415
  1. #!/bin/sh
  2. # Add vboxusers group, GID 108 is reserved
  3. getent group vboxusers &> /dev/null || groupadd -f -g 108 vboxusers
  4. # Load new udev rule for module vboxdrv
  5. udevadm control --reload-rules
  6. mkdir -p /etc/sysconfig/modules.d
  7. [ ! -f /etc/sysconfig/modules.d/virtualbox.conf ] && cat >> /etc/sysconfig/modules.d/virtualbox.conf << "EOF"
  8. vboxdrv
  9. vboxnetadp
  10. vboxnetflt
  11. vboxpci
  12. EOF