2018-03-26 21:32:00 +00:00
|
|
|
# -*- mode: ruby -*-
|
|
|
|
# vi: set ft=ruby :
|
|
|
|
|
2018-04-19 12:22:43 +00:00
|
|
|
# https://github.com/hashicorp/vagrant/issues/9442#issuecomment-363080565
|
2018-05-11 20:10:09 +00:00
|
|
|
# Uncomment below if you need the work around.
|
|
|
|
# Vagrant::DEFAULT_SERVER_URL.replace('https://vagrantcloud.com')
|
2018-04-19 12:22:43 +00:00
|
|
|
|
2018-03-26 21:32:00 +00:00
|
|
|
# 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 "ubuntu1" do |ubuntu1|
|
|
|
|
ubuntu1.vm.box = "ubuntu/xenial64"
|
|
|
|
ubuntu1.vm.hostname = "ubuntu1"
|
|
|
|
ubuntu1.vm.network "private_network", ip: "192.168.33.110"
|
|
|
|
end
|
|
|
|
|
|
|
|
config.vm.define "ubuntu2" do |ubuntu2|
|
|
|
|
ubuntu2.vm.box = "ubuntu/xenial64"
|
|
|
|
ubuntu2.vm.hostname = "ubuntu2"
|
|
|
|
ubuntu2.vm.network "private_network", ip: "192.168.33.120"
|
|
|
|
end
|
|
|
|
|
|
|
|
config.vm.define "ubuntu3" do |ubuntu3|
|
2018-04-19 18:53:57 +00:00
|
|
|
ubuntu3.vm.box = "ubuntu/bionic64"
|
2018-03-26 21:32:00 +00:00
|
|
|
ubuntu3.vm.hostname = "ubuntu3"
|
|
|
|
ubuntu3.vm.network "private_network", ip: "192.168.33.130"
|
|
|
|
end
|
|
|
|
|
|
|
|
config.vm.define "ubuntu4" do |ubuntu4|
|
2018-04-19 18:53:57 +00:00
|
|
|
ubuntu4.vm.box = "ubuntu/bionic64"
|
2018-03-26 21:32:00 +00:00
|
|
|
ubuntu4.vm.hostname = "ubuntu4"
|
|
|
|
ubuntu4.vm.network "private_network", ip: "192.168.33.140"
|
|
|
|
end
|
|
|
|
|
|
|
|
config.vm.define "freebsd5" do |freebsd5|
|
|
|
|
freebsd5.vm.box = "freebsd/FreeBSD-11.1-RELEASE"
|
|
|
|
freebsd5.vm.box_version = "2017.07.21"
|
|
|
|
freebsd5.vm.hostname = "freebsd5"
|
|
|
|
freebsd5.vm.network "private_network", ip: "192.168.33.150"
|
|
|
|
freebsd5.ssh.shell = "sh"
|
|
|
|
freebsd5.vm.base_mac = "080027D14C55"
|
2018-05-12 00:53:22 +00:00
|
|
|
freebsd5.vm.synced_folder ".", "/vagrant", type: "rsync"
|
2018-03-26 21:32:00 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
config.vm.define "freebsd6" do |freebsd6|
|
|
|
|
freebsd6.vm.box = "freebsd/FreeBSD-11.1-RELEASE"
|
|
|
|
freebsd6.vm.box_version = "2017.07.21"
|
|
|
|
freebsd6.vm.hostname = "freebsd6"
|
2018-05-11 14:36:09 +00:00
|
|
|
freebsd6.vm.network "private_network", ip: "192.168.33.160"
|
2018-03-26 21:32:00 +00:00
|
|
|
freebsd6.ssh.shell = "sh"
|
|
|
|
freebsd6.vm.base_mac = "080027D14C66"
|
2018-05-12 00:53:22 +00:00
|
|
|
freebsd6.vm.synced_folder ".", "/vagrant", type: "rsync"
|
2018-03-26 21:32:00 +00:00
|
|
|
end
|
|
|
|
end
|