http://qs1969.pair.com?node_id=799385


in reply to Net::Amazon::EC2 loses pound-shebang when base64'd

Try passing in the user-data script without base-64 encoding it. It works for me.

I happen to maintain the user-data script running software and the Amazon EC2 Debian AMI you are running. I suppose I could enhance it to try to base-64 decode the user-data if it wasn't in the clear, but I'm not sure that there is any good reason to do so.