Browse Source

[ci skip] fix vagrant after halt (#3691)

Nate 7 years ago
parent
commit
c821479d5d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      deployment/vagrant/bootstrap.sh

+ 2 - 1
deployment/vagrant/bootstrap.sh

@@ -12,8 +12,9 @@ if [ ! -e "~/.firstboot" ]; then
   echo "Installing docker"
   curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
   sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
-  sudo apt update
+  sudo apt update -yqq
   sudo apt install -yqq docker-ce
+  sudo usermod -aG docker vagrant
 
   # Setting up passwordless sudo
   echo "vagrant ALL=(ALL:ALL) NOPASSWD: ALL" | sudo tee -a /etc/sudoers