Remove the description of bootcmd

The bootcmd runs during the bootstrap process.
In order to boot speed, in fact, now bootstrap does not run every boot.
It just runs when you first boot via docker-machine or iPXE.
Almost few users can use bootcmd.
This commit is contained in:
niusmallnan
2018-08-02 12:47:00 -07:00
committed by Denise
parent 2b8fad6439
commit 17a486b80b
@@ -32,16 +32,3 @@ write_files:
```
Running Docker commands in this manner is useful when pieces of the `docker run` command are dynamically generated. For services whose configuration is static, [adding a system service]({{< baseurl >}}/os/v1.x/en/installation/system-services/adding-system-services/) is recommended.
## Running Commands Early in the Boot Process
---
The `bootcmd` parameter can be used to run commands earlier in the boot process. In particular, `bootcmd` will be executed while RancherOS is still running from memory and before System Docker and any system services are started.
The syntax for bootcmd is the same as `runcmd`.
```yaml
#cloud-config
bootcmd:
- [ mdadm, --assemble, --scan ]
```