2015-07-20 16:27:44 +00:00
|
|
|
#!/bin/sh
|
|
|
|
#
|
|
|
|
#
|
|
|
|
|
|
|
|
. ${WORLDDIR}/release/tools/vagrant.conf
|
|
|
|
|
2016-10-30 15:46:24 +00:00
|
|
|
export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} virtualbox-ose-additions-nox11"
|
2015-07-20 16:27:44 +00:00
|
|
|
|
|
|
|
vm_extra_pre_umount () {
|
|
|
|
# VirtualBox first boot pkgs
|
2016-10-30 15:46:24 +00:00
|
|
|
echo 'firstboot_pkgs_list="sudo rsync virtualbox-ose-additions-nox11"' >> ${DESTDIR}/etc/rc.conf
|
2015-07-20 16:27:44 +00: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 18:02:18 +00:00
|
|
|
rm -f ${DESTDIR}/etc/resolv.conf
|
2015-07-20 16:27:44 +00:00
|
|
|
}
|