~davewalker/ubuntu-on-ec2/cloud-utils

Viewing all changes in revision 57.

  • Committer: Scott Moser
  • Date: 2010-06-21 17:30:40 UTC
  • Revision ID: smoser@ubuntu.com-20100621173040-50ur64rfixhkhgz0
replace perl line-joining solution with sed

The previous handling of multi-line ssh keys caused the return code of
wget to be ignored.  The use case this was fixing was something like:
| ssh-rsa AAAAB3N[total 80 characters]
| [80 more characters]
| ...
| [80 more characters]
| [ending characters]== user@host

This moves that same functionality into the existing sed command in
validate_keys.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: