diff options
author | Guo Ruijing <ruijing.guo@intel.com> | 2017-12-05 00:41:56 -0800 |
---|---|---|
committer | Guo Ruijing <ruijing.guo@intel.com> | 2017-12-05 00:42:54 -0800 |
commit | d1c5fe6321b7c8d7ae6c1c877ba9843b531b3e32 (patch) | |
tree | 127e068f2a6375af5ec481feb0c2e9c5fdeeed17 /src/vagrant/setup_vagrant.sh | |
parent | f6951341cf2266c8188a667f89a0f1ca4744eb8f (diff) |
Fix vagrant-libvirt issue in vagrant setup
Change-Id: I341316c635a54c675b976e267d909b3d987f8f91
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'src/vagrant/setup_vagrant.sh')
-rwxr-xr-x | src/vagrant/setup_vagrant.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vagrant/setup_vagrant.sh b/src/vagrant/setup_vagrant.sh index a2ac72f..00b684e 100755 --- a/src/vagrant/setup_vagrant.sh +++ b/src/vagrant/setup_vagrant.sh @@ -18,7 +18,9 @@ EOF sudo apt-get install -y virtualbox #refer to https://github.com/vagrant-libvirt/vagrant-libvirt - #sudo apt-get build-dep vagrant ruby-libvirt -y + sudo sed -i 's/^# deb-src/deb-src/g' /etc/apt/sources.list + 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 vagrant plugin install vagrant-libvirt |