Switch to Ubuntu from Debian

Because of LXD fan networking issue

Can ping containers in different node
This commit is contained in:
Khue Doan 2021-02-21 20:58:06 +07:00
parent a00cd2b288
commit f191d5a2e2

5
test/Vagrantfile vendored
View File

@ -1,5 +1,5 @@
Vagrant.configure("2") do |config|
config.vm.box = "debian/buster64"
config.vm.box = "ubuntu/focal64"
(0..1).each do |i|
config.vm.define "metal#{i}" do |metal|
@ -12,11 +12,10 @@ Vagrant.configure("2") do |config|
vb.memory = "4096"
end
config.vbguest.auto_update = false
config.vm.provision "file", source: "~/.ssh/id_rsa.pub", destination: "/tmp/id_rsa.pub"
config.vm.provision "shell", inline: <<-SHELL
apt-get update
mkdir /root/.ssh
cat /tmp/id_rsa.pub >> /root/.ssh/authorized_keys
SHELL