Skip to content

Instantly share code, notes, and snippets.

@digizeph
Created August 16, 2019 23:45
Show Gist options
  • Select an option

  • Save digizeph/56c05f5019b796c4f799cb547334c270 to your computer and use it in GitHub Desktop.

Select an option

Save digizeph/56c05f5019b796c4f799cb547334c270 to your computer and use it in GitHub Desktop.
vagrantfile for different ubuntu versions
#!/usr/bin/env ruby
Vagrant.configure("2") do |config|
#### LTS VERSIONS ####
# 18.04
config.vm.define "bionic" , primary: true do |bionic|
bionic.vm.box = "ubuntu/bionic64"
bionic.vm.box_check_update = true
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
vb.cpus = "4"
end
end
# 16.04
config.vm.define "xenial" , primary: true do |xenial|
xenial.vm.box = "ubuntu/xenial64"
xenial.vm.box_check_update = true
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
vb.cpus = "4"
end
end
#### SHORT_TERM VERSIONS ####
# 19.10 future
config.vm.define "eoan" , primary: true do |eoan|
eoan.vm.box = "ubuntu/eoan64"
eoan.vm.box_check_update = true
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
vb.cpus = "4"
end
end
# 19.04
config.vm.define "disco" , primary: true do |disco|
disco.vm.box = "ubuntu/disco64"
disco.vm.box_check_update = true
config.vm.provider "virtualbox" do |vb|
vb.memory = "2048"
vb.cpus = "4"
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment