Vagrantfile 1.4 KB

1234567891011121314151617181920212223242526272829303132333435
  1. Vagrant.configure("2") do |config|
  2. config.vm.define "ubuntu", primary: true do |this|
  3. this.vm.box = "ubuntu"
  4. this.vm.hostname = "ubuntu"
  5. this.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
  6. this.vm.provision "shell", inline: "/vagrant/scripts/vagrant/up.sh"
  7. end
  8. config.vm.define "ubuntu-12.04", autostart: false do |this|
  9. this.vm.box = "ubuntu-12.04"
  10. this.vm.hostname = "ubuntu-12.04"
  11. this.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-amd64-vagrant-disk1.box"
  12. this.vm.provision "shell", inline: "/vagrant/scripts/vagrant/up.sh"
  13. end
  14. config.vm.define "ubuntu-14.04", autostart: false do |this|
  15. this.vm.box = "ubuntu-14.04"
  16. this.vm.hostname = "ubuntu-14.04"
  17. this.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
  18. this.vm.provision "shell", inline: "/vagrant/scripts/vagrant/up.sh"
  19. end
  20. config.vm.define "windows-server-2012-r2", autostart: false do |this|
  21. this.vm.box = "opentable/win-2012r2-standard-amd64-nocm"
  22. this.vm.hostname = "windows-server-2012-r2"
  23. this.vm.box_url = "opentable/win-2012r2-standard-amd64-nocm"
  24. end
  25. config.vm.provider "virtualbox" do |vb|
  26. vb.memory = 2048
  27. vb.cpus = 2
  28. vb.gui = true
  29. end
  30. end