From 048fa5acc0f396c65ea15051850373227f0b4ef6 Mon Sep 17 00:00:00 2001 From: Alex Dadgar Date: Wed, 23 Mar 2016 12:58:38 -0700 Subject: [PATCH] Fix rkt install in vagrant --- Vagrantfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 275748026..967a8cbcc 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -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