summaryrefslogtreecommitdiff
path: root/doc/examples/user-script.txt
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-01-26 22:53:00 -0500
committerScott Moser <smoser@ubuntu.com>2010-01-26 22:53:00 -0500
commiteb74cd6f36a2f4d2ebdee04d6b388834b1bc72d4 (patch)
tree89d6cdf38758b68639bf5f8d8fbcb220f2ce1f71 /doc/examples/user-script.txt
parent4f389802609dd1a764bd93f2babda7e9eef7f1ba (diff)
downloadvyos-cloud-init-eb74cd6f36a2f4d2ebdee04d6b388834b1bc72d4.tar.gz
vyos-cloud-init-eb74cd6f36a2f4d2ebdee04d6b388834b1bc72d4.zip
add doc/userdata.txt, move examples to doc/.
Diffstat (limited to 'doc/examples/user-script.txt')
-rw-r--r--doc/examples/user-script.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/examples/user-script.txt b/doc/examples/user-script.txt
new file mode 100644
index 00000000..6a87cad5
--- /dev/null
+++ b/doc/examples/user-script.txt
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+cat <<EOF
+============================
+My name is ${0}
+I was input via user data
+============================
+EOF