Where to find logs for a cloud-init user-data script?

后端 未结 3 1538
温柔的废话
温柔的废话 2021-02-18 19:52

I\'m initializing spot instances running a derivative of the standard Ubuntu 13.04 AMI by pasting a shell script into the user-data field.

This works. The script runs. B

3条回答
  •  执笔经年
    2021-02-18 20:20

    The default location for cloud init user data is already /var/log/cloud-init-output.log, in AWS, DigitalOcean and most other cloud providers. You don't need to set up any additional logging to see the output.

提交回复
热议问题