Content-Type: multipart/mixed; boundary="===============3620136092944194607==" MIME-Version: 1.0 --===============3620136092944194607== Content-Type: text/cloud-boothook; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="my-boothook" #!/bin/sh echo "=== $(date): running $0 $* ===" | tee -a /root/boothook.log echo myhostname > /etc/hostname --===============3620136092944194607== Content-Type: text/x-shellscript; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="my-userscript" #!/bin/sh echo "=== $(date): running $0 $* ===" | tee -a /root/userscript.log --===============3620136092944194607==--