From c888c1216fdd4e3e696b1101db8d10f12d04e27c Mon Sep 17 00:00:00 2001 From: peusterm Date: Tue, 23 Aug 2016 15:04:39 +0200 Subject: [PATCH] Added PF_RING kernel module to vagrant installation --- Vagrantfile | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index 8d9b971..56937f5 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -140,8 +140,17 @@ Vagrant.configure(2) do |config| bin/buildout # clone son-examples (disabled until repo goes public) - #cd /home/vagrant - #git clone https://github.com/sonata-nfv/son-examples.git + cd /home/vagrant + git clone https://github.com/sonata-nfv/son-examples.git + + # prepare VM for some special containers (PF_RING) + cd /home/vagrant/son-examples/vnfs/sonata-vtc-vnf-docker/ + chmod +x prepare_host.sh + sudo ./prepare_host.sh + + # place motd + cd /home/vagrant/son-emu + sudo cp utils/vagrant/motd /etc/motd # pre-fetch sonata example vnfs from DockerHub echo "Fetching SONATA example VNF container from DockerHub/sonatanfv" @@ -151,10 +160,6 @@ Vagrant.configure(2) do |config| sudo docker pull sonatanfv/sonata-ovs1-vnf sudo docker pull sonatanfv/sonata-ryu-vnf sudo docker pull sonatanfv/sonata-vtc-vnf - - # place motd - cd /home/vagrant/son-emu - sudo cp utils/vagrant/motd /etc/motd SHELL # TODO the native ansible provisioner does not work so we directly call the shell commands -- 2.25.1