Change default vagrant box to xenial64(16.04)

Because current devstack don't support ubuntu 14.04. Change default
vagrant box from trusty64 to xenial64.

See:
https://docs.openstack.org/developer/devstack/#install-linux

Change-Id: Id49167e6d60babcc6145c0f4cbd5b15231d12c88
This commit is contained in:
ckji 2017-06-28 11:29:49 +08:00
parent 3ccd8a3162
commit a7256e15ed
2 changed files with 4 additions and 4 deletions

View File

@ -5,14 +5,14 @@ VM_CPUS = ENV['VM_CPUS'] || "1"
def configure_providers(vm)
vm.provider "virtualbox" do |vb, config|
config.vm.box = "ubuntu/trusty64"
config.vm.box = "ubuntu/xenial64"
vb.gui = true
vb.memory = VM_MEMORY
vb.cpus = VM_CPUS
end
vm.provider "libvirt" do |lb, config|
config.vm.box = "celebdor/trusty64"
config.vm.box = "celebdor/xenial64"
config.vm.synced_folder './', '/vagrant', type: 'rsync'
lb.nested = true
lb.memory = VM_MEMORY

View File

@ -17,7 +17,7 @@ Vagrant.configure(2) do |config|
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "ubuntu/trusty64"
config.vm.box = "ubuntu/xenial64"
# Disable automatic box update checking. If you disable this, then
# boxes will only be checked for updates when the user runs
@ -57,7 +57,7 @@ Vagrant.configure(2) do |config|
end
config.vm.provider "libvirt" do |lb, config|
config.vm.box = "celebdor/trusty64"
config.vm.box = "celebdor/xenial64"
config.vm.synced_folder './', '/vagrant', type: 'rsync'
lb.nested = true
lb.memory = VM_MEMORY