Comment 6 for bug 376740

Revision history for this message
Scott Moser (smoser) wrote : Re: user-data script: "public key is not available" for PPA

I'm re-opening this.
  I just tested on karmic alpha-4 (ami-59b25230) , and the user-data-script functionality is now completely broken. To verify, either:
a.start an ec2 instance as defined above
b. simply run '/usr/bin/ec2-run-user-data'

The result of either is ('a' will show in /var/log/messages, 'b' to the console):

Traceback (most recent call last):
  File "/usr/bin/ec2-run-user-data", line 28, in <module>
    content_type_handlers = { 'text/x-shellscript' : handle_shell_script,
NameError: name 'handle_shell_script' is not defined