github.com/aclaygray/packer@v1.3.2/scripts/vagrant-linux-priv-config.sh (about) 1 #!/usr/bin/env bash 2 3 export DEBIAN_FRONTEND=noninteractive 4 5 # Update and ensure we have apt-add-repository 6 apt-get update 7 apt-get install -y software-properties-common 8 9 apt-get install -y bzr \ 10 curl \ 11 git \ 12 make \ 13 mercurial \ 14 zip 15 16 # Ensure we cd into the working directory on login 17 if ! grep "cd /opt/gopath/src/github.com/hashicorp/packer" /home/vagrant/.profile ; then 18 echo 'cd /opt/gopath/src/github.com/hashicorp/packer' >> /home/vagrant/.profile 19 fi