xref: /freebsd/release/tools/vagrant-virtualbox.conf (revision b3e7694832e81d7a904a10f525f8797b753bf0d3)
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-nox11"
9
10vm_extra_pre_umount () {
11	# VirtualBox first boot pkgs
12	echo 'firstboot_pkgs_list="sudo rsync virtualbox-ose-additions-nox11"' >> ${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	rm -f ${DESTDIR}/etc/resolv.conf
19}
20