Skip to content
Browse files

update outdated Vagrantfile. (#1156)

  • Loading branch information
mknoszlig authored and wing328 committed Oct 5, 2018
1 parent b4d835f commit 9939702f31c0a205e311605dfe4a6ed512519b55
Showing with 8 additions and 6 deletions.
  1. +8 −6 Vagrantfile
@@ -6,7 +6,7 @@ VAGRANTFILE_API_VERSION = "2"

Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| = "ubuntu/trusty64" = "ubuntu/bionic64"

config.vm.provider "virtualbox" do |v| = "openapi-generator"
@@ -23,13 +23,15 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|

config.vm.provision "shell", inline: <<-SHELL
sudo touch /var/lib/cloud/instance/locale-check.skip
sudo apt-key adv --keyserver hkp:// --recv-keys 58118E89F3A912897C070ADBF76221572C52609D
sudo sh -c 'echo "deb ubuntu-trusty main" > /etc/apt/sources.list.d/docker.list'
sudo apt-cache policy docker-engine
sudo apt-get update
sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] \
$(lsb_release -cs) stable"
sudo sh -c 'echo "deb ubuntu-cosmic main" > /etc/apt/sources.list.d/docker.list'
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install -y docker-engine
sudo apt-get install -y docker-ce
sudo usermod -aG docker vagrant

0 comments on commit 9939702

Please sign in to comment.