- # configure shared package cache if possible
- #if Vagrant.has_plugin?("vagrant-cachier")
- # config.cache.enable :apt
- # config.cache.scope = :box
- #end
+ config.vm.define "ubuntu-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