diff options
author | Guo Ruijing <ruijing.guo@intel.com> | 2018-02-11 02:59:40 -0500 |
---|---|---|
committer | Guo Ruijing <ruijing.guo@intel.com> | 2018-02-11 03:01:14 -0500 |
commit | 2a777bcb738cdc247a52f43128218a67efebb5e1 (patch) | |
tree | 7e857e25a8713b98e0d6059fc35d31aa2417865b /src/vagrant | |
parent | 073d9b661faa951055db48c27999454202f90b4f (diff) |
update to vagrant 2.0.2
vagrant 1.8 cannot download vagrant box
Change-Id: I07252a7e5dc11f084419a44dffc1262e981f2b74
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'src/vagrant')
-rwxr-xr-x | src/vagrant/setup_vagrant.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vagrant/setup_vagrant.sh b/src/vagrant/setup_vagrant.sh index 2dc5ae0..fcde052 100755 --- a/src/vagrant/setup_vagrant.sh +++ b/src/vagrant/setup_vagrant.sh @@ -30,9 +30,9 @@ ${USER} ALL = (root) NOPASSWD:ALL EOF sudo apt-get update -y sudo apt-get install -y git unzip - wget https://releases.hashicorp.com/vagrant/1.8.7/vagrant_1.8.7_x86_64.deb - sudo dpkg -i vagrant_1.8.7_x86_64.deb - rm -rf vagrant_1.8.7_x86_64.deb + wget https://releases.hashicorp.com/vagrant/2.0.2/vagrant_2.0.2_x86_64.deb + sudo dpkg -i vagrant_2.0.2_x86_64.deb + rm -rf vagrant_2.0.2_x86_64.deb sudo apt-get install -y virtualbox @@ -41,7 +41,7 @@ EOF sudo apt-get update sudo apt-get build-dep vagrant ruby-libvirt -y sudo apt-get install -y bridge-utils qemu libvirt-bin ebtables dnsmasq - sudo apt-get install -y libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev + sudo apt-get install -y libffi-dev libxslt-dev libxml2-dev libvirt-dev zlib1g-dev ruby-dev vagrant plugin install vagrant-libvirt sudo adduser ${USER} libvirtd sudo service libvirtd restart |