From d073895315eae14385615ddab209a079e8e20ab0 Mon Sep 17 00:00:00 2001 From: "Bernhard F.W. Gschaider" Date: Mon, 30 Dec 2013 17:08:32 +0100 Subject: [PATCH] Adapt vagrant files for foam-3 --HG-- branch : bgschaid/foam3FixesBranch --- vagrantSandbox/Vagrantfile | 2 +- vagrantSandbox/initGeneralScript.sh | 8 ++++---- vagrantSandbox/initUbunutuScript.sh | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/vagrantSandbox/Vagrantfile b/vagrantSandbox/Vagrantfile index c604ee090..e3be2edb7 100644 --- a/vagrantSandbox/Vagrantfile +++ b/vagrantSandbox/Vagrantfile @@ -2,7 +2,7 @@ # vi: set ft=ruby : Vagrant.configure("2") do |config| - config.vm.synced_folder "..", "/OpenFOAM-sources" + config.vm.synced_folder "..", "/FOAM-sources" config.vm.provider :virtualbox do |vb| # # Don't boot with headless mode diff --git a/vagrantSandbox/initGeneralScript.sh b/vagrantSandbox/initGeneralScript.sh index 1e8248fff..646896d3e 100755 --- a/vagrantSandbox/initGeneralScript.sh +++ b/vagrantSandbox/initGeneralScript.sh @@ -15,15 +15,15 @@ do fi done -OFDIR=/home/vagrant/OpenFOAM/ +OFDIR=/home/vagrant/foam/ mkdir -vp $OFDIR chown -R vagrant:vagrant $OFDIR -OFClone=$OFDIR/OpenFOAM-1.6-ext -OFReference=$OFDIR/OpenFOAM-1.6-ext-parent +OFClone=$OFDIR/foam-extend-3.0 +OFReference=$OFClone-parent -OFParent=/OpenFOAM-sources +OFParent=/FOAM-sources if [ ! -e $OFClone ] then diff --git a/vagrantSandbox/initUbunutuScript.sh b/vagrantSandbox/initUbunutuScript.sh index 008932bfc..ea3de7bf2 100755 --- a/vagrantSandbox/initUbunutuScript.sh +++ b/vagrantSandbox/initUbunutuScript.sh @@ -31,6 +31,7 @@ apt-get -y install g++ apt-get -y install make #apt-get -y install python-dev apt-get -y install ccache +apt-get -y install cmake # test scripts with different shells apt-get -y install csh