aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSrivatsa Sangli <srivrama@cisco.com>2016-06-21 12:58:19 -0700
committerSrivatsa Sangli <srivrama@cisco.com>2016-06-21 12:58:19 -0700
commit010972a95df6d8abfce40325a3009cf6e9238a30 (patch)
treeefe980ec1cb440614e089975b09ac5daa245c72e
parent8ebb2a1632ccf2079cd6217af2d4045021dc3b9e (diff)
Vagrantfile syntax error correction - requires string input instead of integer.
Change-Id: Ib291662c4ea2f5bef0f2c417b16d256f5c480d5c Signed-off-by: Srivatsa Sangli<srivrama@cisco.com>
-rw-r--r--build-root/vagrant/Vagrantfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/build-root/vagrant/Vagrantfile b/build-root/vagrant/Vagrantfile
index 9bb53b91e5d..49141e80e26 100644
--- a/build-root/vagrant/Vagrantfile
+++ b/build-root/vagrant/Vagrantfile
@@ -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