mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 23:05:49 +01:00
3103eac6a0
copied from the build host. It is renamed to /etc/resolv.conf.bak on boot, so never used anyway. Noticed by: peter MFC after: 3 days Sponsored by: The FreeBSD Foundation
20 lines
505 B
Bash
20 lines
505 B
Bash
#!/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
|
|
rm -f ${DESTDIR}/etc/resolv.conf
|
|
}
|