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