summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2017-06-20 19:25:25 -0400
committerFeng Pan <fpan@redhat.com>2017-06-20 19:25:25 -0400
commit364883fe2e39d2d6a6d79cac39d7cd9ced0f991b (patch)
tree660c2fc0cbcd28f5e8beb2a7e952a30a74dfeeee
parent4411a144af0f5b817f9c280713edaa5eab73b2f0 (diff)
Fix syntax error in ovs-dpdk-preconfig.yaml
JIRA: APEX-477 Change-Id: I58988755519117b39fe96be6c619489155d01b81 Signed-off-by: Feng Pan <fpan@redhat.com>
-rw-r--r--build/ovs-dpdk-preconfig.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/ovs-dpdk-preconfig.yaml b/build/ovs-dpdk-preconfig.yaml
index a4663ff..3463141 100644
--- a/build/ovs-dpdk-preconfig.yaml
+++ b/build/ovs-dpdk-preconfig.yaml
@@ -86,7 +86,7 @@ resources:
if [[ -n "$pmd_cpu_mask" && -n "$PMD_CORES" ]]; then
ovs-vsctl --no-wait set Open_vSwitch . other_config:pmd-cpu-mask=$pmd_cpu_mask
fi
- if [ -n "$dpdk_lcore_mask" && -n "$DPDK_CORES" ]]; then
+ if [[ -n "$dpdk_lcore_mask" && -n "$DPDK_CORES" ]]; then
ovs-vsctl --no-wait set Open_vSwitch . other_config:dpdk-lcore-mask=$dpdk_lcore_mask
fi
systemctl restart openvswitch