2015-07-20 18:27:44 +02:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
. ${WORLDDIR}/release/tools/vagrant.conf
|
|
|
|
|
2016-10-30 16:46:24 +01:00
|
|
|
export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} virtualbox-ose-additions-nox11"
|
2015-07-20 18:27:44 +02:00
|
|
|
|
|
|
|
vm_extra_pre_umount () {
|
|
|
|
# VirtualBox first boot pkgs
|
2016-10-30 16:46:24 +01:00
|
|
|
echo 'firstboot_pkgs_list="sudo rsync virtualbox-ose-additions-nox11"' >> ${DESTDIR}/etc/rc.conf
|
2015-07-20 18:27:44 +02:00
|
|
|
echo 'vboxguest_enable="YES"' >> ${DESTDIR}/etc/rc.conf
|
|
|
|
echo 'vboxservice_enable="YES"' >> ${DESTDIR}/etc/rc.conf
|
|
|
|
|
|
|
|
# Setup the Vagrant common items
|
|
|
|
vagrant_common
|
2017-11-21 19:02:18 +01:00
|
|
|
rm -f ${DESTDIR}/etc/resolv.conf
|
2015-07-20 18:27:44 +02:00
|
|
|
}
|