Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sdr01810/4807b6ab7258b883b7bb337630e41d42 to your computer and use it in GitHub Desktop.
Save sdr01810/4807b6ab7258b883b7bb337630e41d42 to your computer and use it in GitHub Desktop.
Unattended installation of Vagrant on Ubuntu.
##/bin/bash
##
vagrant_deb_url='https://releases.hashicorp.com/vagrant/1.8.6/vagrant_1.8.6_x86_64.deb'
vagrant_deb_fpn="${HOME}/Downloads/${vagrant_deb_url##*/}"
if ! [ -e "${vagrant_deb_fpn:?}" ] ; then
xx wget -q -O "${vagrant_deb_fpn:?}" "${vagrant_deb_url:?}"
fi
xx sudo gdebi --non-interactive "${vagrant_deb_fpn:?}"
##
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment