[00:54] <ZacS1234> hi
[00:56] <ZacS1234> I have an upstart script that I am trying to build that is behaving strangley. I am trying to use curl to fetch the EC2 instance metadata in the pre-start script section, but when run on boot, /etc/environment is never written to, the script works fine if I run it once logged in. the script is:
[00:57] <ZacS1234> http://pastebin.com/SgQeJN4W
[00:57] <ZacS1234> any ideas?