Vagrantfile syntax error correction - requires string input instead of integer.

Change-Id: Ib291662c4ea2f5bef0f2c417b16d256f5c480d5c
Signed-off-by: Srivatsa Sangli<srivrama@cisco.com>
This commit is contained in:
Srivatsa Sangli
2016-06-21 12:58:19 -07:00
parent 8ebb2a1632
commit 010972a95d

View 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