Skip to content

Commit

Permalink
typo...
Browse files Browse the repository at this point in the history
  • Loading branch information
marklee77 committed Oct 29, 2014
1 parent c29324c commit 093d20d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setkey.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ while [ ! -f /root/.ssh/authorized_keys ] && [ ${ATTEMPTS} -gt 0 ]; do
ATTEMPTS=$((${ATTEMPTS}-1))
curl -f http://169.254.169.254/latest/meta-data/public-keys/0/openssh-key \
> ${TMPFILE} 2>/dev/null
if [ \$? -eq 1 ]; then
if [ $? -eq 1 ]; then
cat ${TMPFILE} >> /root/.ssh/authorized_keys
chmod 0600 /root/.ssh/authorized_keys
rm -f ${TMPFILE}
Expand Down

0 comments on commit 093d20d

Please sign in to comment.