Created
August 24, 2017 18:26
-
-
Save sdr01810/4807b6ab7258b883b7bb337630e41d42 to your computer and use it in GitHub Desktop.
Unattended installation of Vagrant on Ubuntu.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##/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