summaryrefslogtreecommitdiffstats
path: root/node-admin/scripts
diff options
context:
space:
mode:
authorHarald Musum <musum@yahoo-inc.com>2016-06-28 15:52:51 +0200
committerHarald Musum <musum@yahoo-inc.com>2016-06-28 15:52:51 +0200
commit0ff2ee573d5882a6b88b2c40e0b13dc63ff2414d (patch)
treec2db94bdff5a42627a807fe32b0a08625c44a093 /node-admin/scripts
parente941ae18a2efdac4450390c1fb5fd4c418b94d01 (diff)
Fixes after review feedback
Diffstat (limited to 'node-admin/scripts')
-rwxr-xr-xnode-admin/scripts/node-repo.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/node-admin/scripts/node-repo.sh b/node-admin/scripts/node-repo.sh
index 788cfca0fdd..f5b811fb600 100755
--- a/node-admin/scripts/node-repo.sh
+++ b/node-admin/scripts/node-repo.sh
@@ -14,7 +14,7 @@ Script for manipulating the Node Repository.
Commands
add [-c <configserverhost>] -p <parenthostname> <hostname>...
Provision node <hostname> in node repo with flavor "docker".
- add-host [-c <configserverhost>] <hostname>...
+ add-host [-c <configserverhost>] <hostname>
Provision Docker host <hostname> in node repo with type "host".
reprovision [-c <configserverhost>] -p <parenthostname> <hostname>...
Fail node <hostname>, then rm and add.
@@ -242,17 +242,17 @@ function AddHostCommand {
Fail "No hostname was specified"
fi
- local hostname=$1
+ local hostname="$1"
shift
if (($# == 0))
then
Fail "No flavor was specified"
fi
- local flavor=$1
+ local flavor="$1"
shift
- echo "Provisioning Docker host $hostname with flavor $flavor"
+ echo -n "Provisioning Docker host $hostname with flavor $flavor"
ProvisionDockerHost "$config_server_hostname" \
"$hostname" \