mirror of
https://github.com/rancher/os.git
synced 2025-07-02 01:31:48 +00:00
Update README.md
This commit is contained in:
parent
b8be344200
commit
30817c8d60
10
README.md
10
README.md
@ -108,7 +108,7 @@ to the [full documentation](docs/config.md).
|
|||||||
|
|
||||||
## Cloud Init
|
## 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
|
```yaml
|
||||||
#cloud-config
|
#cloud-config
|
||||||
@ -125,6 +125,14 @@ write_files:
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "I'm doing things on start"
|
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
|
## Useful Commands
|
||||||
|
Loading…
Reference in New Issue
Block a user