mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
a54bd5953b
Abstract the build, package and upload to handle building either type. Approved by: re (gjb)
23 lines
662 B
Bash
23 lines
662 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
. ${WORLDDIR}/release/tools/vagrant.conf
|
|
|
|
export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} open-vm-tools-nox11"
|
|
|
|
vm_extra_pre_umount () {
|
|
# VMWare first boot pkgs
|
|
echo 'firstboot_pkgs_list="sudo rsync open-vm-tools-nox11"' >> ${DESTDIR}/etc/rc.conf
|
|
|
|
echo 'vmware_guest_vmblock_enable="YES"' >> ${DESTDIR}/etc/rc.conf
|
|
echo 'vmware_guest_vmhgfs_enable="YES"' >> ${DESTDIR}/etc/rc.conf
|
|
echo 'vmware_guest_vmmemctl_enable="YES"' >> ${DESTDIR}/etc/rc.conf
|
|
echo 'vmware_guest_vmxnet_enable="YES"' >> ${DESTDIR}/etc/rc.conf
|
|
echo 'vmware_guestd_enable="YES"' >> ${DESTDIR}/etc/rc.conf
|
|
|
|
# Setup the Vagrant common items
|
|
vagrant_common
|
|
}
|