diff options
author | Tim Rozet <trozet@redhat.com> | 2018-11-20 03:59:17 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-11-20 03:59:17 +0000 |
commit | 1fc27d26a7e2dab1fdd0718d2d8a3c751a6cb701 (patch) | |
tree | e9e3f7e2c44a6255a2fcd29839ee3a4a7ce959f8 /ci | |
parent | 9066cb52523aeb4a5b98c634aa6616233b0c0237 (diff) | |
parent | 859fb4703b3f0359e80b35aaa62a94e752707bae (diff) |
Merge "Make util support more than 10 compute nodes"
Diffstat (limited to 'ci')
-rwxr-xr-x | ci/util.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,7 +48,7 @@ controller<number> or compute<number>" node_output=$(undercloud_connect "stack" "source stackrc; nova list") node=$(echo "$1" | sed -E 's/([a-zA-Z]+)([0-9]+)/\1-\2/') - node_ip=$(echo "$node_output" | grep "$node" | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+") + node_ip=$(echo "$node_output" | grep "$node " | grep -Eo "[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+") if [ "$node_ip" == "" ]; then echo -e "Unable to find IP for ${node} in \n${node_output}" |