Skip to content

Commit

Permalink
Fix rkt install in vagrant
Browse files Browse the repository at this point in the history
  • Loading branch information
dadgar committed Mar 23, 2016
1 parent 4f0062a commit 048fa5a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ sudo apt-get install -y docker-engine
# Restart docker to make sure we get the latest version of the daemon if there is an upgrade
sudo service docker restart
# Install rkt
bash /opt/gopath/src/github.com/hashicorp/nomad/scripts/install_rkt.sh
# Make sure we can actually use docker as the vagrant user
sudo usermod -aG docker vagrant
# Setup Nomad for development
cd /opt/gopath/src/github.com/hashicorp/nomad && make bootstrap
# Install rkt
bash scripts/install_rkt.sh
# CD into the nomad working directory when we login to the VM
grep "cd /opt/gopath/src/github.com/hashicorp/nomad" ~/.profile || echo "cd /opt/gopath/src/github.com/hashicorp/nomad" >> ~/.profile
SCRIPT
Expand Down

0 comments on commit 048fa5a

Please sign in to comment.