#!/bin/bash source /etc/profile # add package keywords cat <> "$chroot/etc/portage/package.keywords" app-emulation/virtualbox-guest-additions ~x86 DATAEOF # install the virtualbox guest additions, add vagrant and root to group vboxguest # PREREQUISITE: kernel - we install a module, so we use the kernel sources chroot "$chroot" /bin/bash <