In my reproduction test I retrieve a string that is base64'd two times:
$ ssh -i mykey.priv [email protected] 'wget -q
http://169.254.169.254/latest/user-data -O -'; echo
SXlFdlltbHVMM05vQ21WamFHOGdQVDA5UFQwOVBUMDlJRWhGVEV4UElEMDlQVDA50
Which base64-decodes to:
IyEvYmluL3NoCmVjaG8gPT09PT09PT09IEhFTExPID09PT09
Which base-64 decodes to:
#!/bin/sh
echo ========= HELLO =====
** Also affects: ubuntu-release-notes
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
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs