aboutsummaryrefslogtreecommitdiff
path: root/release/tools/vagrant-vmware.conf
diff options
context:
space:
mode:
Diffstat (limited to 'release/tools/vagrant-vmware.conf')
-rw-r--r--release/tools/vagrant-vmware.conf22
1 files changed, 22 insertions, 0 deletions
diff --git a/release/tools/vagrant-vmware.conf b/release/tools/vagrant-vmware.conf
new file mode 100644
index 000000000000..330892bc7b85
--- /dev/null
+++ b/release/tools/vagrant-vmware.conf
@@ -0,0 +1,22 @@
+#!/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
+}