[Bug 461156] Re: User data is not base64 decoded before being presented to the instance

Scott Moser smoser at ubuntu.com
Mon Oct 26 15:30:29 GMT 2009


Confirming this:
$ printf "%s\n%s\n" '#!/bin/sh' 'echo hello world" > /tmp/user-data.sh
$ euca-run-instances -k mykey --user-data-file /tmp/user-data.sh emi-220011A6 -t m1.small
$ euca-describe-instances 
RESERVATION     r-342805FE      admin   default
INSTANCE        i-3BB70743      emi-220011A6    192.168.1.192   172.19.1.2     running  mykey   0       m1.small        2009-10-26T15:21:07.472Z        sm-zone-1a      eki-3EE316B1    eri-225F1633
$ ssh -i mykey.priv ubuntu at 192.168.1.192 'wget -q http://169.254.169.254/latest/user-data -O -'; echo
IyEvYmluL3NoCmVjaG8gaGVsbG8gd29ybGQK

The above should show plaintext.
$ dpkg-query --show "euca*"
euca2ools       1.0+bzr20091007-0ubuntu1
eucalyptus-cc   1.6~bzr931-0ubuntu7
eucalyptus-cloud        1.6~bzr931-0ubuntu7
eucalyptus-common       1.6~bzr931-0ubuntu7
eucalyptus-gl   1.6~bzr931-0ubuntu7
eucalyptus-java-common  1.6~bzr931-0ubuntu7
eucalyptus-javadeps
eucalyptus-sc   1.6~bzr931-0ubuntu7
eucalyptus-walrus       1.6~bzr931-0ubuntu7


** Changed in: eucalyptus (Ubuntu)
       Status: New => Confirmed

** Changed in: eucalyptus (Ubuntu)
   Importance: Undecided => Critical

** Also affects: eucalyptus
   Importance: Undecided
       Status: New

-- 
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.



More information about the Ubuntu-server-bugs mailing list