Skip to content

Instantly share code, notes, and snippets.

@chulkilee
Created March 12, 2014 19:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chulkilee/9513918 to your computer and use it in GitHub Desktop.
Save chulkilee/9513918 to your computer and use it in GitHub Desktop.
#!/bin/bash -eux
packer_ver=0.5.2
packer_prefix=/opt
packer_arch=linux_amd64
mkdir -p ${packer_prefix}/packer-${packer_ver}
cd ${packer_prefix}/packer-${packer_ver}
wget https://dl.bintray.com/mitchellh/packer/${packer_ver}_${packer_arch}.zip
unzip ${packer_ver}_${packer_arch}.zip && rm ${packer_ver}_${packer_arch}.zip
#!/bin/bash -eux
vagrant_ver=1.5.0
vagrant_arch=x86_64
cd /tmp
wget https://dl.bintray.com/mitchellh/vagrant/vagrant_${vagrant_ver}_${vagrant_arch}.deb
dpkg -i vagrant_${vagrant_ver}_${vagrant_arch}.deb && rm vagrant_${vagrant_ver}_${vagrant_arch}.deb
#!/bin/bash -eux
virtualbox_pkg=virtualbox-4.3
curl -s http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc | apt-key add -
echo 'deb http://download.virtualbox.org/virtualbox/debian '$(lsb_release -cs)' contrib non-free' > /etc/apt/sources.list.d/virtualbox.list
apt-get -qq update
apt-get install -qq -y ${virtualbox_pkg}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment