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