aboutsummaryrefslogblamecommitdiff
path: root/release/tools/vagrant-virtualbox.conf
blob: 772068befd30794f358def1b39df5362f8075f56 (plain) (tree)
1
2
3
4
5
6
7
8






                                        
                                                                              


                                    
                                                                                                        





                                                                 
#!/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
}