FreeBSD and OpenSUSE-machines. Currently not working

--HG--
rename : vagrantSandbox/initCentOSRHELScript.sh => vagrantSandbox/initFreeBSDScript.sh
rename : vagrantSandbox/initCentOSRHELScript.sh => vagrantSandbox/initOpenSUSEScript.sh
This commit is contained in:
Bernhard Gschaider 2014-02-10 16:34:06 +01:00
parent ad198e0854
commit b96880ab6e
4 changed files with 65 additions and 0 deletions

View file

@ -34,6 +34,10 @@
=lucid=-machine. Not yet working =lucid=-machine. Not yet working
- centos65 :: A CentOS 6.5 machine with preinstalled development - centos65 :: A CentOS 6.5 machine with preinstalled development
tools tools
- freebsd92 :: FreeBSD 9.2 32-bit machine. Untested
- freebsd10 :: FreeBSD 10.0 32-big machine. Currently does not boot
properly
- opensuse12 :: OpenSUSE 12.3 machine. Boots but is not provisioned
* Scripts * Scripts
In the home directory these scripts are found In the home directory these scripts are found
- bootstrapFoam.sh :: A script whose aim it is to compile Foam and - bootstrapFoam.sh :: A script whose aim it is to compile Foam and

View file

@ -48,4 +48,33 @@ Vagrant.configure("2") do |config|
end end
end end
config.vm.define :freebsd92 do |freebsd92|
freebsd92.vm.box = "freebsd92"
# freebsd92.vm.box_url = "https://wunki.org/files/freebsd-9.2-amd64-wunki.box"
freebsd92.vm.box_url = "http://iris.hosting.lv/freebsd-9.2-i386.box"
freebsd92.vm.provision :shell do |s|
s.args = "freebsd92"
s.path = "initFreeBSDScript.sh"
end
end
config.vm.define :freebsd10 do |freebsd10|
freebsd10.vm.box = "freebsd10"
# freebsd10.vm.box_url = "https://wunki.org/files/freebsd-10.0-amd64-wunki.box"
freebsd10.vm.box_url = "http://iris.hosting.lv/freebsd-10.0-i386.box"
freebsd10.vm.provision :shell do |s|
s.args = "freebsd10"
s.path = "initFreeBSDScript.sh"
end
end
config.vm.define :opensuse12 do |opensuse12|
opensuse12.vm.box = "opensuse12"
opensuse12.vm.box_url = "http://sourceforge.net/projects/opensusevagrant/files/12.3/opensuse-12.3-64.box/download"
opensuse12.vm.provision :shell do |s|
s.args = "opensuse12"
s.path = "initOpenSUSEScript.sh"
end
end
end end

View file

@ -0,0 +1,16 @@
#! /bin/bash
boxName=$1
echo
echo "Init script for $boxName"
echo
echo
echo "FreeBSD-specific ended. Now doing general stuff"
echo
/vagrant/initGeneralScript.sh
echo
echo "Ended"

View file

@ -0,0 +1,16 @@
#! /bin/bash
boxName=$1
echo
echo "Init script for $boxName"
echo
echo
echo "FreeBSD-specific ended. Now doing general stuff"
echo
/vagrant/initGeneralScript.sh
echo
echo "Ended"