Code Review
/
releng
/
global-jjb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Refactor: use POSIX shell function declaration
[releng/global-jjb.git]
/
shell
/
openstack-stack-copy-ssh-keys.sh
diff --git
a/shell/openstack-stack-copy-ssh-keys.sh
b/shell/openstack-stack-copy-ssh-keys.sh
index
463a386
..
a1a01cb
100644
(file)
--- a/
shell/openstack-stack-copy-ssh-keys.sh
+++ b/
shell/openstack-stack-copy-ssh-keys.sh
@@
-13,7
+13,7
@@
echo "---> Copy SSH public keys to CSIT lab"
os_cloud="${OS_CLOUD:-vex}"
stack_name="${OS_STACK_NAME}"
-
function copy_ssh_keys
() {
+
copy_ssh_keys
() {
if [ -z "$1" ]; then
>&2 echo "ERROR: Missing required arguments."
>&2 echo "Usage: copy_ssh_keys IP_ADDRESS"