Revision 2c916acc

View differences:

util/clustersetup.sh
26 26
user=$(whoami)
27 27
SSHDIR=/tmp/mn/ssh
28 28
USERDIR=$HOME/.ssh
29
usage=$'./clustersetup.sh [ -p|h|c ] [ host1 ] [ host2 ] ...\n
29
usage="./clustersetup.sh [ -p|h|c ] [ host1 ] [ host2 ] ...\n
30 30
        Authenticate yourself and other cluster nodes to each other
31 31
        via ssh for mininet cluster edition. By default, we use a
32 32
        temporary ssh setup. An ssh directory is mounted over
33
        /home/user/.ssh on each machine in the cluster.
33
        $USERDIR on each machine in the cluster.
34 34
        
35 35
                -h: display this help
36 36
                -p: create a persistent ssh setup. This will add
37 37
                    new ssh keys and known_hosts to each nodes
38
                    /home/user/.ssh directory
38
                    $USERDIR directory
39 39
                -c: method to clean up a temporary ssh setup.
40 40
                    Any hosts taken as arguments will be cleaned
41
        '
41
        "
42 42

  
43 43
persistentSetup() {
44 44
    echo "***creating key pair"

Also available in: Unified diff