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:
parent
ad198e0854
commit
b96880ab6e
4 changed files with 65 additions and 0 deletions
|
@ -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
|
||||||
|
|
29
vagrantSandbox/Vagrantfile
vendored
29
vagrantSandbox/Vagrantfile
vendored
|
@ -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
|
||||||
|
|
16
vagrantSandbox/initFreeBSDScript.sh
Executable file
16
vagrantSandbox/initFreeBSDScript.sh
Executable 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"
|
16
vagrantSandbox/initOpenSUSEScript.sh
Executable file
16
vagrantSandbox/initOpenSUSEScript.sh
Executable 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"
|
Reference in a new issue