1 2 3 4 5 6 7 8 9 | #cloud-config-archive - type: 'text/cloud-boothook' content: | #!/bin/sh echo "BOOTHOOK: $(date -R): this is called every boot." | tee /run/boothook.txt - type: 'text/cloud-config' content: | bootcmd: - [sh, -c, 'echo "BOOTCMD: $(date -R): $INSTANCE_ID" | tee /run/bootcmd.txt'] |