From d1c5fe6321b7c8d7ae6c1c877ba9843b531b3e32 Mon Sep 17 00:00:00 2001 From: Guo Ruijing Date: Tue, 5 Dec 2017 00:41:56 -0800 Subject: Fix vagrant-libvirt issue in vagrant setup Change-Id: I341316c635a54c675b976e267d909b3d987f8f91 Signed-off-by: Guo Ruijing --- src/vagrant/setup_vagrant.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit 1.2.3-korg