summaryrefslogtreecommitdiffstats
path: root/src/vagrant/setup_vagrant.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/vagrant/setup_vagrant.sh')
-rwxr-xr-xsrc/vagrant/setup_vagrant.sh4
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