Skip to content

Instantly share code, notes, and snippets.

@larsks
Created February 7, 2014 16:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsks/8865784 to your computer and use it in GitHub Desktop.
Save larsks/8865784 to your computer and use it in GitHub Desktop.
From nobody Fri Feb 7 11:05:57 2014
Content-Type: multipart/mixed; boundary="===============3090254400701157010=="
MIME-Version: 1.0
--===============3090254400701157010==
MIME-Version: 1.0
Content-Type: text/text/x-shellscript; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="script"
#!/bin/sh
echo "This is a script" > /var/log/myscript
--===============3090254400701157010==
MIME-Version: 1.0
Content-Type: text/text/cloud-config; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="config"
write_files:
- content: This is a test
path: /root/simplefile
--===============3090254400701157010==--
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment