Comment 6 for bug 1424900

Revision history for this message
Oleg Strikov (strikov-deactivatedaccount) wrote :

When I try to pull user-data *manually* from inside the instance -- it is not corrupted:

ubuntu@vivid-20150224:~$ wget -O - http://169.254.169.254/latest/user-data | zcat

--2015-02-25 11:47:26-- http://169.254.169.254/latest/user-data
Connecting to 169.254.169.254:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 85 [text/html]
Saving to: 'STDOUT'

100%[================================================>] 85 --.-KB/s in 0s

2015-02-25 11:47:27 (15.8 MB/s) - written to stdout [85/85]

#!/bin/sh
echo "$(date -R)" === HELLO WORLD === | tee -a /run/my.log"