Switch to use new ovs nsh version
[groupbasedpolicy.git] / demos / gbpsfc-env / Vagrantfile
index 65c3025c28a1118db383121a69326d4a629ef9a9..fd94b9f8989759ab43ce8184aa7ae206e1493f85 100644 (file)
@@ -1,4 +1,3 @@
-
 # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
 VAGRANTFILE_API_VERSION = "2"
 
@@ -8,6 +7,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
     vb.memory = "512"
   end
   # run our bootstrapping for the system
+  config.vm.provision 'shell', path: 'bootstrap.sh', :args => odl
   num_nodes = (ENV['NUM_NODES'] || 1).to_i
 
   # ip configuration
@@ -22,16 +22,16 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
       vm_ip = ips[n]
       vm_ip_sflow = ips_sflow[n]
       vm_index = n+1
-      compute.vm.box = "alagalah/gbpsfc-trusty64"
-      compute.vm.box_version = "1.0.1"
+      compute.vm.box = "ubuntu/trusty64"
+      compute.vm.box_version = "20160729.0.0"
       compute.vm.hostname = "gbpsfc#{vm_index}"
       compute.vm.network "private_network", ip: "#{vm_ip}"
       compute.vm.network "private_network", ip: "#{vm_ip_sflow}"
       compute.vm.provider :virtualbox do |vb|
-        vb.memory = 512
-        vb.customize ["modifyvm", :id, "--ioapic", "on"]      
+        vb.memory = 2048
+        vb.customize ["modifyvm", :id, "--ioapic", "on"]
         vb.cpus = 1
       end
     end
   end
-end
+end
\ No newline at end of file