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