From ecd05c6de44ea5e30b079322db13a3ce8e4e5820 Mon Sep 17 00:00:00 2001 From: Bin Xu Date: Fri, 26 May 2017 17:51:28 +0800 Subject: [PATCH] Using statefule image only now. --- xCAT-test/bin/xcatperftest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-test/bin/xcatperftest b/xCAT-test/bin/xcatperftest index 8795fb3a8..1ec36c963 100755 --- a/xCAT-test/bin/xcatperftest +++ b/xCAT-test/bin/xcatperftest @@ -198,7 +198,7 @@ getOSimage() if [ -z $PERF_OSIMAGE ]; then # covert it to an array - osimage_array=($(lsdef -t osimage 2>/dev/null| grep `arch`|awk '/compute/ {print $1}')) + osimage_array=($(lsdef -t osimage 2>/dev/null| grep `arch`|grep 'install'|awk '/compute/ {print $1}')) index=`expr $RANDOM % ${#osimage_array[@]} 2>/dev/null` echo ${osimage_array[$index]} else