xref: /freebsd/release/tools/vagrant-virtualbox.conf (revision 97549c34ecaf74580941fdc9c5bd1050e4b1f6ce)
1#!/bin/sh
2#
3# $FreeBSD$
4#
5
6. ${WORLDDIR}/release/tools/vagrant.conf
7
8export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} virtualbox-ose-additions"
9
10vm_extra_pre_umount () {
11	# VirtualBox first boot pkgs
12	echo 'firstboot_pkgs_list="sudo rsync virtualbox-ose-additions"' >> ${DESTDIR}/etc/rc.conf
13	echo 'vboxguest_enable="YES"' >> ${DESTDIR}/etc/rc.conf
14	echo 'vboxservice_enable="YES"' >> ${DESTDIR}/etc/rc.conf
15
16	# Setup the Vagrant common items
17	vagrant_common
18}
19