I believe I've verified that using euca-run-instances base64 encodes data 2 
times rather than once.
For example, with euca2ools configured to run against ec2, I do:

$ euca-run-instances --user-data "hello world" --key ec2-keypair ami-ef00e386
$ ssh ${ec2_host} 'wget -q http://169.254.169.254/latest/user-data -O -'; echo
aGVsbG8gd29ybGQ=
$ ssh $ec2_host 'wget -q http://169.254.169.254/latest/user-data -O -' |
   base64 -d; echo
hello world

This is true for both '--user-data' and '--user-data-file'.

-- 
User data is not base64 decoded before being presented to the instance
https://bugs.launchpad.net/bugs/461156
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to eucalyptus in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to