Compare commits

...

19 commits

Author SHA1 Message Date
Bryan Black 8b4df06002
fix 'undefined variable' 2018-08-20 15:47:42 -07:00
Bryan Black 2f535abcde
fix for error from srgvg
https://github.com/stationgroup/ansible-experiments/pull/3
2018-05-11 17:53:22 -07:00
Bryan Black 01baf3d0ec
comment out vagrantcloud workaround
Making PR https://github.com/stationgroup/vagrant-labs/pull/2 an optional comment for @srgvg.
2018-05-11 13:10:09 -07:00
Bryan Black 3429946ed0
Merge pull request #3 from srgvg/patch-2
Increment IP address for freebsd6 node
2018-05-11 12:56:35 -07:00
Serge van Ginderachter f61f04ba14
Increment IP address for freebsd6 node
Had the same address as freebsd5
2018-05-11 16:36:09 +02:00
Bryan Black e6fd2688cd
up RAM usage 2018-04-22 15:08:54 -07:00
Bryan Black 0d26147120
fix copy and paste error 2018-04-22 14:24:50 -07:00
Bryan Black 617f353a23
Create Vagrantfile 2018-04-22 14:07:02 -07:00
Bryan Black 4f6c832f6c
Create README.md 2018-04-22 14:02:47 -07:00
Bryan Black 14fddfd71d
Merge pull request #2 from srgvg/patch-1
workaround for non-working redirect downloading Vagrant image
2018-04-20 23:34:25 -07:00
Bryan Black 9e59e2893e
Upgrade to Ubuntu 18.04 (Bionic) 2018-04-19 12:00:49 -07:00
Bryan Black f971a2e717
Upgrade to Ubuntu 18.04 (Bionic) 2018-04-19 11:58:24 -07:00
Bryan Black dc574b5716
Upgrade to Ubuntu 18.04 (Bionic) 2018-04-19 11:57:53 -07:00
Bryan Black ff8eea9e8c
update to Ubuntu 18.04 (Bionic) 2018-04-19 11:54:27 -07:00
Bryan Black d6beed1fcf
update to Ubuntu 18.04 (Bionic) 2018-04-19 11:53:57 -07:00
Serge van Ginderachter 527f9b9a8c
workaround for not working redirect downloading Vagrant image
See hashicorp/vagrant#9442
2018-04-19 14:22:43 +02:00
Bryan Black ad6047ec76
Install instructions 2018-04-01 13:06:01 -07:00
Bryan Black 72b51ac594
spacing 2018-04-01 12:59:58 -07:00
Bryan Black d42fb35463
Merge pull request #1 from stationgroup/add-license-1
Create LICENSE
2018-03-28 17:29:55 -07:00
7 changed files with 80 additions and 11 deletions

View file

@ -15,6 +15,7 @@ brew cask install virtualbox vagrant
sudo apt -y install virtualbox vagrant sudo apt -y install virtualbox vagrant
``` ```
---
### [`imperialspeculate`](https://github.com/stationgroup/vagrant-labs/tree/master/imperialspeculate) ### [`imperialspeculate`](https://github.com/stationgroup/vagrant-labs/tree/master/imperialspeculate)
@ -22,18 +23,20 @@ Name | Box | CPU | RAM | Disk |
---------|------------------------------|-----|-------|--------| ---------|------------------------------|-----|-------|--------|
ubuntu1 | ubuntu/xenial64             | 1   | 1GB | 10GB* | ubuntu1 | ubuntu/xenial64             | 1   | 1GB | 10GB* |
ubuntu2 | ubuntu/xenial64             | 1   | 1GB | 10GB* | ubuntu2 | ubuntu/xenial64             | 1   | 1GB | 10GB* |
ubuntu3 | ubuntu/xenial64 | 1 | 1GB | 10GB* | ubuntu3 | ubuntu/bionic64 | 1 | 1GB | 10GB* |
ubuntu4 | ubuntu/xenial64 | 1 | 1GB | 10GB* | ubuntu4 | ubuntu/bionic64 | 1 | 1GB | 10GB* |
freebsd5 | freebsd/FreeBSD-11.1-RELEASE | 1 | 512MB | 21GB* | freebsd5 | freebsd/FreeBSD-11.1-RELEASE | 1 | 512MB | 21GB* |
freebsd6 | freebsd/FreeBSD-11.1-RELEASE | 1 | 512MB | 21GB* | freebsd6 | freebsd/FreeBSD-11.1-RELEASE | 1 | 512MB | 21GB* |
---
### [`offspringidea`](https://github.com/stationgroup/vagrant-labs/tree/master/offspringidea) ### [`offspringidea`](https://github.com/stationgroup/vagrant-labs/tree/master/offspringidea)
Name | Box | CPU | RAM | Disk | Name | Box | CPU | RAM | Disk |
--------|-----------------|-----|-----|--------| --------|-----------------|-----|-----|--------|
ubuntu1 | ubuntu/xenial64 | 1 | 1GB | 10GB* | ubuntu1 | ubuntu/xenial64 | 1 | 1GB | 10GB* |
ubuntu2 | ubuntu/xenial64 | 1 | 4GB | 120GB* | ubuntu2 | ubuntu/xenial64 | 1 | 4GB | 120GB* |
ubuntu3 | ubuntu/xenial64 | 1 | 1GB | 10GB* | ubuntu3 | ubuntu/bionic64 | 1 | 1GB | 10GB* |
--- ---
###### _*Disk size shown is the maximum capacity. Disk grows with usage. ~1GB of disk space required per OS install._ ###### _*Disk size shown is the maximum capacity. Disk grows with usage. ~1GB of disk space required per OS install._

31
candlemajor/README.md Normal file
View file

@ -0,0 +1,31 @@
# Punkt.de FreeBSD Virtual Machine
## Dependencies & Plugins
This _Vagrantfile_ is from the German FreeBSD VPS [Punkt.de](https://punkt.de/en).
[vagrantup.com/punktde](https://app.vagrantup.com/punktde)
FreeBSD box we use for our internal development. Apart from FreeBSD 11 and the Vagrant environment it contains all the necessary packages to start with Ansible right away, but nothing more.
* Custom kernel with VIMAGE option (virtual network stack to use with jails).
* Packages: `sudo` `bash` `virtualbox-ose-additions` `python27` `python36`
* 60GB SCSI hdd with ZFS root
## Requirements
Name | Box | CPU | RAM | Disk |
---------|-------------------------|-----|-------|--------|
freebsd1 | punktde/freebsd-111-zfs | 1 | 4.2GB | 60GB* |
freebsd2 | punktde/freebsd-111-zfs | 1 | 4.2GB | 60GB* |
freebsd3 | punktde/freebsd-111-zfs | 1 | 4.2GB | 60GB* |
###### _*Disk size shown is the maximum capacity. Disk grows with usage. ~1GB of disk space required per OS install._
## :floppy_disk: Setup and Start
One-liner:
```
mkdir ~/vm-candlemajor ; cd ~/vm-candlemajor && curl -q https://raw.githubusercontent.com/stationgroup/vagrant-labs/master/candlemajor/Vagrantfile -O && vagrant up
```

27
candlemajor/Vagrantfile vendored Normal file
View file

@ -0,0 +1,27 @@
# -*- mode: ruby -*-
# vi: set ft=ruby :
# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure("2") do |config|
config.vm.define "freebsd1" do |freebsd1|
freebsd1.vm.box = "punktde/freebsd-111-zfs"
freebsd1.vm.hostname = "freebsd1"
freebsd1.vm.network "private_network", ip: "192.168.33.110"
end
config.vm.define "freebsd2" do |freebsd2|
freebsd2.vm.box = "punktde/freebsd-111-zfs"
freebsd2.vm.hostname = "freebsd2"
freebsd2.vm.network "private_network", ip: "192.168.33.120"
end
config.vm.define "freebsd3" do |freebsd3|
freebsd3.vm.box = "punktde/freebsd-111-zfs"
freebsd3.vm.hostname = "freebsd3"
freebsd3.vm.network "private_network", ip: "192.168.33.130"
end
end

View file

@ -2,12 +2,14 @@
## Requirements ## Requirements
#### [How do I install Vagrant?](../README.md)
Name | Box | CPU | RAM | Disk | Name | Box | CPU | RAM | Disk |
---------|------------------------------|-----|-------|--------| ---------|------------------------------|-----|-------|--------|
ubuntu1 | ubuntu/xenial64 | 1 | 1GB | 10GB* | ubuntu1 | ubuntu/xenial64 | 1 | 1GB | 10GB* |
ubuntu2 | ubuntu/xenial64 | 1 | 1GB | 10GB* | ubuntu2 | ubuntu/xenial64 | 1 | 1GB | 10GB* |
ubuntu3 | ubuntu/xenial64             | 1   | 1GB | 10GB* | ubuntu3 | ubuntu/bionic64             | 1   | 1GB | 10GB* |
ubuntu4 | ubuntu/xenial64 | 1 | 1GB | 10GB* | ubuntu4 | ubuntu/bionic64 | 1 | 1GB | 10GB* |
freebsd5 | freebsd/FreeBSD-11.1-RELEASE | 1 | 512MB | 21GB* | freebsd5 | freebsd/FreeBSD-11.1-RELEASE | 1 | 512MB | 21GB* |
freebsd6 | freebsd/FreeBSD-11.1-RELEASE | 1 | 512MB | 21GB* | freebsd6 | freebsd/FreeBSD-11.1-RELEASE | 1 | 512MB | 21GB* |

View file

@ -1,6 +1,10 @@
# -*- mode: ruby -*- # -*- mode: ruby -*-
# vi: set ft=ruby : # vi: set ft=ruby :
# https://github.com/hashicorp/vagrant/issues/9442#issuecomment-363080565
# Uncomment below if you need the work around.
# Vagrant::DEFAULT_SERVER_URL.replace('https://vagrantcloud.com')
# All Vagrant configuration is done below. The "2" in Vagrant.configure # All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for # configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what # backwards compatibility). Please don't change it unless you know what
@ -20,13 +24,13 @@ Vagrant.configure("2") do |config|
end end
config.vm.define "ubuntu3" do |ubuntu3| config.vm.define "ubuntu3" do |ubuntu3|
ubuntu3.vm.box = "ubuntu/xenial64" ubuntu3.vm.box = "ubuntu/bionic64"
ubuntu3.vm.hostname = "ubuntu3" ubuntu3.vm.hostname = "ubuntu3"
ubuntu3.vm.network "private_network", ip: "192.168.33.130" ubuntu3.vm.network "private_network", ip: "192.168.33.130"
end end
config.vm.define "ubuntu4" do |ubuntu4| config.vm.define "ubuntu4" do |ubuntu4|
ubuntu4.vm.box = "ubuntu/xenial64" ubuntu4.vm.box = "ubuntu/bionic64"
ubuntu4.vm.hostname = "ubuntu4" ubuntu4.vm.hostname = "ubuntu4"
ubuntu4.vm.network "private_network", ip: "192.168.33.140" ubuntu4.vm.network "private_network", ip: "192.168.33.140"
end end
@ -38,14 +42,16 @@ Vagrant.configure("2") do |config|
freebsd5.vm.network "private_network", ip: "192.168.33.150" freebsd5.vm.network "private_network", ip: "192.168.33.150"
freebsd5.ssh.shell = "sh" freebsd5.ssh.shell = "sh"
freebsd5.vm.base_mac = "080027D14C55" freebsd5.vm.base_mac = "080027D14C55"
freebsd5.vm.synced_folder ".", "/vagrant", type: "rsync"
end end
config.vm.define "freebsd6" do |freebsd6| config.vm.define "freebsd6" do |freebsd6|
freebsd6.vm.box = "freebsd/FreeBSD-11.1-RELEASE" freebsd6.vm.box = "freebsd/FreeBSD-11.1-RELEASE"
freebsd6.vm.box_version = "2017.07.21" freebsd6.vm.box_version = "2017.07.21"
freebsd6.vm.hostname = "freebsd6" freebsd6.vm.hostname = "freebsd6"
freebsd6.vm.network "private_network", ip: "192.168.33.150" freebsd6.vm.network "private_network", ip: "192.168.33.160"
freebsd6.ssh.shell = "sh" freebsd6.ssh.shell = "sh"
freebsd6.vm.base_mac = "080027D14C66" freebsd6.vm.base_mac = "080027D14C66"
freebsd6.vm.synced_folder ".", "/vagrant", type: "rsync"
end end
end end

View file

@ -14,7 +14,7 @@ Name | Box | CPU | RAM | Disk |
--------|-----------------|-----|-----|--------| --------|-----------------|-----|-----|--------|
ubuntu1 | ubuntu/xenial64 | 1 | 1GB | 10GB* | ubuntu1 | ubuntu/xenial64 | 1 | 1GB | 10GB* |
ubuntu2 | ubuntu/xenial64 | 1 | 4GB | 120GB* | ubuntu2 | ubuntu/xenial64 | 1 | 4GB | 120GB* |
ubuntu3 | ubuntu/xenial64 | 1 | 1GB | 10GB* | ubuntu3 | ubuntu/bionic64 | 1 | 1GB | 10GB* |
###### _*Disk size shown is the maximum capacity. Disk grows with usage. ~1GB of disk space required per OS install._ ###### _*Disk size shown is the maximum capacity. Disk grows with usage. ~1GB of disk space required per OS install._

View file

@ -19,14 +19,14 @@ Vagrant.configure("2") do |config|
config.disksize.size = "120GB" config.disksize.size = "120GB"
ubuntu2.vm.network "private_network", ip: "192.168.33.120" ubuntu2.vm.network "private_network", ip: "192.168.33.120"
sap.vm.provider "virtualbox" do |vb| ubuntu2.vm.provider "virtualbox" do |vb|
vb.gui = false vb.gui = false
vb.memory = "4096" vb.memory = "4096"
end end
end end
config.vm.define "ubuntu3" do |ubuntu3| config.vm.define "ubuntu3" do |ubuntu3|
ubuntu3.vm.box = "ubuntu/xenial64" ubuntu3.vm.box = "ubuntu/bionic64"
ubuntu3.vm.hostname = "ubuntu3" ubuntu3.vm.hostname = "ubuntu3"
ubuntu3.vm.network "private_network", ip: "192.168.33.130" ubuntu3.vm.network "private_network", ip: "192.168.33.130"
end end