summaryrefslogtreecommitdiffstats
path: root/ci/envs/host-config
diff options
context:
space:
mode:
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