- # provider.token = ''
- # # provider.token = 'YOUR TOKEN'
- # provider.image = 'ubuntu-14-04-x64'
- # provider.region = 'nyc2'
- # provider.size = '512mb'
- # end
+ config.vm.define "ubuntu20-nginx" do |sub|
+ sub.vm.box = "generic/ubuntu2004"
+ sub.vm.provision :shell do |s|
+ s.path = "vagrant/Install-on-Ubuntu-20.sh"
+ s.privileged = false
+ s.args = [checkout, "install-nginx"]
+ end
+ end
+
+ config.vm.define "ubuntu18" do |sub|
+ sub.vm.box = "generic/ubuntu1804"
+ sub.vm.provision :shell do |s|
+ s.path = "vagrant/Install-on-Ubuntu-18.sh"
+ s.privileged = false
+ s.args = [checkout]
+ end
+ end
+
+ config.vm.define "ubuntu18-apache" do |sub|
+ sub.vm.box = "generic/ubuntu1804"
+ sub.vm.provision :shell do |s|
+ s.path = "vagrant/Install-on-Ubuntu-18.sh"
+ s.privileged = false
+ s.args = [checkout, "install-apache"]
+ end
+ end
+
+ config.vm.define "ubuntu18-nginx" do |sub|
+ sub.vm.box = "generic/ubuntu1804"
+ sub.vm.provision :shell do |s|
+ s.path = "vagrant/Install-on-Ubuntu-18.sh"
+ s.privileged = false
+ s.args = [checkout, "install-nginx"]
+ end
+ end