From 2c916acc06686d8d6d755bcfb1f0b8c4f6dae2db Mon Sep 17 00:00:00 2001 From: Roan Huang Date: Tue, 7 Apr 2015 03:37:53 +0000 Subject: [PATCH] Modify cluster help information --- util/clustersetup.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/util/clustersetup.sh b/util/clustersetup.sh index a80c899..d28cbc4 100755 --- a/util/clustersetup.sh +++ b/util/clustersetup.sh @@ -26,19 +26,19 @@ declare -a hosts=() user=$(whoami) SSHDIR=/tmp/mn/ssh USERDIR=$HOME/.ssh -usage=$'./clustersetup.sh [ -p|h|c ] [ host1 ] [ host2 ] ...\n +usage="./clustersetup.sh [ -p|h|c ] [ host1 ] [ host2 ] ...\n Authenticate yourself and other cluster nodes to each other via ssh for mininet cluster edition. By default, we use a temporary ssh setup. An ssh directory is mounted over - /home/user/.ssh on each machine in the cluster. + $USERDIR on each machine in the cluster. -h: display this help -p: create a persistent ssh setup. This will add new ssh keys and known_hosts to each nodes - /home/user/.ssh directory + $USERDIR directory -c: method to clean up a temporary ssh setup. Any hosts taken as arguments will be cleaned - ' + " persistentSetup() { echo "***creating key pair"