3 ssh_options='-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no'
5 INSTALLER_IP=${INSTALLER_IP:-10.20.0.2}
7 ip=`sshpass -p r00tme ssh $ssh_options root@10.20.0.2 'fuel node'|grep controller|awk '{print $10}' | head -1`
9 sshpass -p r00tme scp set-up-tacker.sh ${INSTALLER_IP}:/root
10 sshpass -p r00tme ssh $ssh_options root@${INSTALLER_IP} 'scp set-up-tacker.sh '"$ip"':/root'
11 sshpass -p r00tme ssh $ssh_options root@${INSTALLER_IP} 'ssh root@'"$ip"' bash set-up-tacker.sh'
12 sshpass -p r00tme ssh $ssh_options root@${INSTALLER_IP} 'scp '"$ip"':/root/tackerc .'
13 sshpass -p r00tme scp ${INSTALLER_IP}:/root/tackerc $BASEDIR