Code Review
/
apex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 2:
8f75445
)
Merge "Bring in aarch64 support in apex"
author
Ricardo Noriega
<rnoriega@redhat.com>
Wed, 21 Nov 2018 10:24:52 +0000
(10:24 +0000)
committer
Gerrit Code Review
<gerrit@opnfv.org>
Wed, 21 Nov 2018 10:24:52 +0000
(10:24 +0000)
ci/util.sh
patch
|
blob
|
history
diff --git
a/ci/util.sh
b/ci/util.sh
index
a9df021
..
5172ae1
100755
(executable)
--- a/
ci/util.sh
+++ b/
ci/util.sh
@@
-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}"