xref: /freebsd/release/tools/vagrant-vmware.conf (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1#!/bin/sh
2#
3#
4
5. ${WORLDDIR}/release/tools/vagrant.conf
6
7export VM_EXTRA_PACKAGES="${VM_EXTRA_PACKAGES} open-vm-tools-nox11"
8
9vm_extra_pre_umount () {
10	# VMWare first boot pkgs
11	echo 'firstboot_pkgs_list="sudo rsync open-vm-tools-nox11"' >> ${DESTDIR}/etc/rc.conf
12
13	echo 'vmware_guest_vmblock_enable="YES"' >> ${DESTDIR}/etc/rc.conf
14	echo 'vmware_guest_vmhgfs_enable="YES"' >> ${DESTDIR}/etc/rc.conf
15	echo 'vmware_guest_vmmemctl_enable="YES"' >> ${DESTDIR}/etc/rc.conf
16	echo 'vmware_guest_vmxnet_enable="YES"' >> ${DESTDIR}/etc/rc.conf
17	echo 'vmware_guestd_enable="YES"' >> ${DESTDIR}/etc/rc.conf
18
19	# Setup the Vagrant common items
20	vagrant_common
21	rm -f ${DESTDIR}/etc/resolv.conf
22}
23