aboutsummaryrefslogtreecommitdiff
path: root/release/tools/vagrant-virtualbox.conf
blob: c29d5716bac23e05720bcfa652492a17d396af28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#
# $FreeBSD$
#

. ${WORLDDIR}/release/tools/vagrant.conf

export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} virtualbox-ose-additions-nox11"

vm_extra_pre_umount () {
	# VirtualBox first boot pkgs
	echo 'firstboot_pkgs_list="sudo rsync virtualbox-ose-additions-nox11"' >> ${DESTDIR}/etc/rc.conf
	echo 'vboxguest_enable="YES"' >> ${DESTDIR}/etc/rc.conf
	echo 'vboxservice_enable="YES"' >> ${DESTDIR}/etc/rc.conf

	# Setup the Vagrant common items
	vagrant_common
	rm -f ${DESTDIR}/etc/resolv.conf
}