RancherOS: caching imags when installing to disk

This commit is contained in:
niusmallnan
2019-07-31 14:36:24 +08:00
parent 7fff0381a1
commit d5b46dabe3
@@ -82,6 +82,22 @@ rancher/os:v0.5.0 remote
Alternatively, you can set the installer image to any image in System Docker to install RancherOS. This is particularly useful for machines that will not have direct access to the internet.
#### Caching Images
_Available as of v1.5.3_
Sometimes, some of the configurations included in cloud-config require additional docker images support. These images are typically downloaded automatically by RancherOS when booting after installation. These configurations can be:
- rancher.services_include
- rancher.console
- rancher.docker
If you want to download and save these images to disk during installation, they will be loaded automatically when booting next time. You can add `-s` when using `ros install`:
```
$ ros install -d <disk> -c <cloud-config.yaml> -s
```
### SSH into RancherOS
After installing RancherOS, you can ssh into RancherOS using your private key and the **rancher** user.