Skip to content

Instantly share code, notes, and snippets.

@zmallen
Created March 3, 2017 22:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zmallen/4f88c789904a46fb685bfc344aa4a77a to your computer and use it in GitHub Desktop.
Save zmallen/4f88c789904a46fb685bfc344aa4a77a to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.define "ansible", primary: true do |ansible|
ansible.vm.network "private_network", ip: "192.168.50.3"
ansible.vm.box = "hashicorp/precise64"
ansible.vm.provision :shell, path: "scripts/bootstrap_ans.sh"
ansible.vm.provider "virtualbox" do |vbox|
vbox.memory = 512
end
end
config.vm.define "ubantu", primary: true do |ubantu|
ubantu.vm.network "private_network", ip: "192.168.50.4"
ubantu.vm.box = "hashicorp/precise64"
ubantu.vm.provider "virtualbox" do |vbox|
vbox.memory = 1024
end
end
config.vm.define "fedora", primary: true do |fedora|
fedora.vm.network "private_network", ip: "192.168.50.6"
fedora.vm.box = "bento/fedora-22"
fedora.vm.provider "virtualbox" do |vbox|
vbox.memory = 1024
end
end
config.vm.define "centos7", primary: true do |centos7|
centos7.vm.network "private_network", ip: "192.168.50.7"
centos7.vm.box = "centos/7"
centos7.vm.provider "virtualbox" do |vbox|
vbox.memory = 1024
end
end
config.vm.define "centos6", primary: true do |centos6|
centos6.vm.network "private_network", ip: "192.168.50.8"
centos6.vm.box = "bento/centos-6.7"
centos6.vm.provider "virtualbox" do |vbox|
vbox.memory = 1024
end
end
config.vm.define "fedora21", primary: true do |fedora21|
fedora21.vm.network "private_network", ip: "192.168.50.9"
fedora21.vm.box = "bento/fedora-21"
fedora21.vm.provider "virtualbox" do |vbox|
vbox.memory = 1024
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment