Fixed code indentation

This commit is contained in:
Roan Huang
2015-04-06 11:12:27 +00:00
parent c68e4e76f4
commit 57c8f5934f
+4 -4
View File
@@ -80,7 +80,7 @@ tempSetup() {
sudo mount --bind $SSHDIR /home/$user/.ssh sudo mount --bind $SSHDIR /home/$user/.ssh
cp $SSHDIR/id_rsa.pub $SSHDIR/authorized_keys cp $SSHDIR/id_rsa.pub $SSHDIR/authorized_keys
for host in $hosts; do for host in $hosts; do
echo "***copying public key to $host" echo "***copying public key to $host"
ssh-copy-id $user@$host &> /dev/null ssh-copy-id $user@$host &> /dev/null
echo "***mounting remote temporary ssh directory for $host" echo "***mounting remote temporary ssh directory for $host"
@@ -90,12 +90,12 @@ for host in $hosts; do
sudo mount --bind $SSHDIR /home/$user/.ssh" sudo mount --bind $SSHDIR /home/$user/.ssh"
echo "***copying key pair to $host" echo "***copying key pair to $host"
scp $SSHDIR/{id_rsa,id_rsa.pub} $user@$host:$SSHDIR scp $SSHDIR/{id_rsa,id_rsa.pub} $user@$host:$SSHDIR
done done
for host in $hosts; do for host in $hosts; do
echo "***copying known_hosts to $host" echo "***copying known_hosts to $host"
scp $SSHDIR/known_hosts $user@$host:$SSHDIR scp $SSHDIR/known_hosts $user@$host:$SSHDIR
done done
} }
cleanup() { cleanup() {