Where does output from cloud-init (automatically runs scripts when starting up a virtual machine in the cloud, for example at Amazon EC2) go? I would like to know that my initialization scripts executed successfully.

There is a /var/log/cloud-init.log file, but it seems to contain only partial output (namely from the SSH key initialization).

link|improve this question
feedback

2 Answers

First of all let me congratulate you on using cloud-init, it's a quite amazing tool!

There's no way yet to setup a log level but by default cloud-init will run with DEBUG enabled.

It's still in heavy development, I expect it to be a lot better by the release of Ubuntu Natty

link|improve this answer
feedback

On my EC2 box (running the Amazon Linux AMI) it's stored in /var/log/cloud-init.log

link|improve this answer
Thanks, but it doesn't seem to contain output from user scripts. – Valko Sipuli Feb 19 '11 at 7:24
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.