From 8868132a9eb4f9517530dc75bc913afda3becadf Mon Sep 17 00:00:00 2001 From: Bernhard Gschaider Date: Mon, 10 Feb 2014 18:51:15 +0100 Subject: [PATCH] Try to make FreeBSD work --- vagrantSandbox/README | 7 ++++--- vagrantSandbox/Vagrantfile | 10 ++++++++++ 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/vagrantSandbox/README b/vagrantSandbox/README index 4517f92b2..de590c01e 100644 --- a/vagrantSandbox/README +++ b/vagrantSandbox/README @@ -39,9 +39,10 @@ =lucid=-machine. Not yet working - centos65 :: A CentOS 6.5 machine with preinstalled development tools - - freebsd92 :: FreeBSD 9.2 32-bit machine. Untested - - freebsd10 :: FreeBSD 10.0 32-big machine. Currently does not boot - properly + - freebsd92 :: FreeBSD 9.2 32-bit machine. Does not work because + FreeBSD does not support shared folders + - freebsd10 :: FreeBSD 10.0 32-big machine. Tries to set up shared + folders via NFS. Currently not working - opensuse12 :: OpenSUSE 12.3 machine. Boots but is not provisioned Some machines (read: the BSD-boxes) need the =VirtualBox Extension Pack= installed (because they have USB 2.0) diff --git a/vagrantSandbox/Vagrantfile b/vagrantSandbox/Vagrantfile index e07baee3b..081f8ab5b 100644 --- a/vagrantSandbox/Vagrantfile +++ b/vagrantSandbox/Vagrantfile @@ -66,6 +66,16 @@ Vagrant.configure("2") do |config| s.args = "freebsd10" s.path = "initFreeBSDScript.sh" end + freebsd10.vm.network :private_network, ip: "10.0.0.2" + + # configure the NICs + freebsd10.vm.provider :virtualbox do |vb| + vb.customize ["modifyvm", :id, "--nictype1", "virtio"] + vb.customize ["modifyvm", :id, "--nictype2", "virtio"] + end + + # use NFS for the synced folder + freebsd10.vm.synced_folder "..", "/FOAM-sources", :nfs => true end config.vm.define :opensuse12 do |opensuse12|