1
0
mirror of https://github.com/rancher/os.git synced 2025-07-01 17:21:50 +00:00

Update README.md

This commit is contained in:
Darren Shepherd 2015-03-23 07:52:04 -07:00
parent b8be344200
commit 30817c8d60

View File

@ -108,7 +108,7 @@ to the [full documentation](docs/config.md).
## Cloud Init
We currently support a very small portion of cloud-init. If the user_data is a script (starting with the proper #!<interpreter>) we will execute it. If the user_data starts with `#cloud-config` it will be processed by cloud-init. The below directives are supported.
We currently support a very small portion of cloud-init. If the user_data is a script (starting with the proper #!<interpreter>) we will execute it. If the user_data starts with `#cloud-config` it will be processed by cloud-init. The below directives are supported. Using the `rancher` key you can also configure anything found in [`rancher.yml`](docs/config.md).
```yaml
#cloud-config
@ -125,6 +125,14 @@ write_files:
#!/bin/bash
echo "I'm doing things on start"
# Anything you can put in the rancher.yml
rancher:
network:
dns:
nameservers
- 8.8.8.8
- 8.8.4.4
```
## Useful Commands