xref: /freebsd/release/tools/vagrant-virtualbox.conf (revision 09a53ad8f1318c5daae6cfb19d97f4f6459f0013)
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