doc(user-data): Move user-data doc to README.md

This commit is contained in:
Brian Waldon
2014-03-20 09:13:32 -07:00
parent 490152bd16
commit bc37171a2e
2 changed files with 41 additions and 14 deletions

View File

@@ -187,13 +187,3 @@ Provide a list of objects with the following attributes:
- **content**: Data to write at the provided `path`
- **permissions**: String representing file permissions in octal notation (i.e. '0644')
- **owner**: User and group that should own the file written to disk. This is equivalent to the `<user>:<group>` argument to `chown <user>:<group> <path>`.
## user-data Script
Simply set your user-data to a script where the first line is a shebang:
```
#!/bin/bash
echo 'Hello, world!'
```