vbox.sh 346 B

123456789
  1. #!/usr/bin/bash -x
  2. # VirtualBox Guest Additions
  3. # https://wiki.archlinux.org/index.php/VirtualBox
  4. pacman -S --noconfirm linux-headers virtualbox-guest-utils virtualbox-guest-modules-arch nfs-utils
  5. echo -e 'vboxguest\nvboxsf\nvboxvideo' > /etc/modules-load.d/virtualbox.conf
  6. systemctl enable vboxservice.service
  7. systemctl enable rpcbind.service