blob: 5baf2e031c6eff3bb93280cf856745e5f1c07744 [file] [log] [blame]
#! /bin/sh
. ${HOME}/bin/func.sh
basename=$ONOS_CLUSTER_BASENAME
nr_nodes=$ONOS_CLUSTER_NR_NODES
for n in `seq 1 $nr_nodes`; do
echo "Host node$n"
echo "User ubuntu"
echo "HostName ${basename}${n}"
done > ~/.ssh/config
cd ${HOME}/bin
for n in `seq 1 $nr_nodes`; do
ln -s ssh_exec node${n}
done