a54bd5953b
Abstract the build, package and upload to handle building either type. Approved by: re (gjb)
19 lines
459 B
Bash
19 lines
459 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
. ${WORLDDIR}/release/tools/vagrant.conf
|
|
|
|
export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} virtualbox-ose-additions"
|
|
|
|
vm_extra_pre_umount () {
|
|
# VirtualBox first boot pkgs
|
|
echo 'firstboot_pkgs_list="sudo rsync virtualbox-ose-additions"' >> ${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
|
|
}
|