Vagrantfile syntax error correction - requires string input instead of integer. 89/1689/1
authorSrivatsa Sangli <srivrama@cisco.com>
Tue, 21 Jun 2016 19:58:19 +0000 (12:58 -0700)
committerSrivatsa Sangli <srivrama@cisco.com>
Tue, 21 Jun 2016 19:58:19 +0000 (12:58 -0700)
Change-Id: Ib291662c4ea2f5bef0f2c417b16d256f5c480d5c
Signed-off-by: Srivatsa Sangli<srivrama@cisco.com>
build-root/vagrant/Vagrantfile

index 9bb53b9..49141e8 100644 (file)
@@ -44,7 +44,7 @@ Vagrant.configure(2) do |config|
   end
 
   # Define some physical ports for your VMs to be used by DPDK
-  nics = (ENV['VPP_VAGRANT_NICS'] || 2).to_i(10)
+  nics = (ENV['VPP_VAGRANT_NICS'] || "2").to_i(10)
   for i in 1..nics
     config.vm.network "private_network", type: "dhcp"
   end