Code Review
/
releng
/
builder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Use OS_CLOUD variable for openstackclient
[releng/builder.git]
/
jjb
/
opendaylight-infra-copy-ssh-keys.sh
diff --git
a/jjb/opendaylight-infra-copy-ssh-keys.sh
b/jjb/opendaylight-infra-copy-ssh-keys.sh
index 99e9dc7e57591f227685fae47efcd70a1d93c99d..d6801239f6b0b843889608bd2fda9c8e95584916 100644
(file)
--- a/
jjb/opendaylight-infra-copy-ssh-keys.sh
+++ b/
jjb/opendaylight-infra-copy-ssh-keys.sh
@@
-31,10
+31,10
@@
function copy-ssh-keys-to-slave() {
# Print the Stack outputs parameters so that we can identify which IPs belong
# to which VM types.
# Print the Stack outputs parameters so that we can identify which IPs belong
# to which VM types.
-openstack
--os-cloud rackspace
stack show -c outputs "$STACK_NAME"
+openstack stack show -c outputs "$STACK_NAME"
# shellcheck disable=SC2006
# shellcheck disable=SC2006
-ADDR=(`openstack
--os-cloud rackspace
stack show -f json -c outputs "$STACK_NAME" | \
+ADDR=(`openstack stack show -f json -c outputs "$STACK_NAME" | \
jq -r '.outputs[] | \
select(.output_key | match("^vm_[0-9]+_ips\$")) | \
.output_value | .[]'`)
jq -r '.outputs[] | \
select(.output_key | match("^vm_[0-9]+_ips\$")) | \
.output_value | .[]'`)