2015-05-05 03:27:28 +00:00
|
|
|
Vagrant.configure("2") do |config|
|
|
|
|
|
config.vm.define "ubuntu", primary: true do |this|
|
|
|
|
|
this.vm.box = "ubuntu"
|
2015-05-05 03:55:27 +00:00
|
|
|
this.vm.hostname = "ubuntu"
|
2015-05-05 03:27:28 +00:00
|
|
|
this.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
|
2015-05-05 03:55:27 +00:00
|
|
|
this.vm.provision "shell", inline: "/vagrant/scripts/vagrant/up.sh"
|
|
|
|
|
end
|
|
|
|
|
|
2016-02-08 23:47:18 +00:00
|
|
|
config.vm.define "ubuntu-12.04", autostart: false do |this|
|
2015-06-10 23:03:20 +00:00
|
|
|
this.vm.box = "ubuntu-12.04"
|
|
|
|
|
this.vm.hostname = "ubuntu-12.04"
|
|
|
|
|
this.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box"
|
|
|
|
|
this.vm.provision "shell", inline: "/vagrant/scripts/vagrant/up.sh"
|
|
|
|
|
end
|
|
|
|
|
|
2016-02-08 23:47:18 +00:00
|
|
|
config.vm.define "ubuntu-14.04", autostart: false do |this|
|
|
|
|
|
this.vm.box = "ubuntu-14.04"
|
|
|
|
|
this.vm.hostname = "ubuntu-14.04"
|
|
|
|
|
this.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
|
|
|
|
|
this.vm.provision "shell", inline: "/vagrant/scripts/vagrant/up.sh"
|
|
|
|
|
end
|
|
|
|
|
|
2015-05-05 03:55:27 +00:00
|
|
|
config.vm.provider "virtualbox" do |vb|
|
|
|
|
|
vb.memory = 1024
|
|
|
|
|
vb.cpus = 2
|
2015-05-05 03:27:28 +00:00
|
|
|
end
|
|
|
|
|
end
|