Revision a7f9a7eaa474541a84a3da56c8dd8ddff60fe221 authored by Xin Li on 03 July 2017, 05:42:55 UTC, committed by Xin Li on 03 July 2017, 05:42:55 UTC
1 parent c25b7d9
Raw File
vagrant-virtualbox.conf
#!/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
}
back to top