Ubuntu Pastebin

Paste from smoser at Mon, 2 Oct 2017 16:39:01 +0000

Download as text
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']
Download as text