summaryrefslogtreecommitdiffstats
path: root/ci/envs/host-config
diff options
context:
space:
mode:
authorRajithaY <rajithax.yerrumsetty@intel.com>2017-03-20 15:15:28 +0530
committerRajitha Yerrumchetty <rajithax.yerrumsetty@intel.com>2017-03-20 16:50:14 +0000
commitc3893858bf09f4cca8850fb9b0f59f1a050f6b38 (patch)
tree8d3a3b2e093ee8d7ef7cee56080caefa77783611 /ci/envs/host-config
parentd946629e1c1851dd12fd2f2664e9a12fc1b6c9bc (diff)
This patch contains the code changes to check the commit id in
the apex.conf file is valid or not and to update the stress_isolcpus to 22-43 on console Change-Id: I6a2e78f51f2371042bcbfa4f8c3e31b316938528 Signed-off-by:RajithaY<rajithax.yerrumsetty@intel.com>
Diffstat (limited to 'ci/envs/host-config')
-rwxr-xr-xci/envs/host-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/envs/host-config b/ci/envs/host-config
index e696fcde1..4a5d1b5a2 100755
--- a/ci/envs/host-config
+++ b/ci/envs/host-config
@@ -21,7 +21,7 @@ pcm_memory=/root/pcm/pcm-memory.x
# Isolated cpus for nfv, must be given as a range '-' and Numa node1 CPU's should be considered
host_isolcpus=`lscpu | grep "NUMA node1 CPU(s)"| awk -F ':' '{print \$2}' | sed 's/[[:space:]]//g'`
first=$(echo ${host_isolcpus} | cut -f1 -d-)
-last=$(echo ${host_isolcpus} | cut -f2 -d-)
+last=$(echo ${host_isolcpus} | cut -f2 -d- | cut -d',' -f1 )
# Bind cpus from host_isolcpus range for QEMU processor threads
i=0