mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-27 05:28:22 +00:00
RancherOS: caching imags when installing to disk
This commit is contained in:
@@ -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.
|
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
|
### SSH into RancherOS
|
||||||
|
|
||||||
After installing RancherOS, you can ssh into RancherOS using your private key and the **rancher** user.
|
After installing RancherOS, you can ssh into RancherOS using your private key and the **rancher** user.
|
||||||
|
|||||||
Reference in New Issue
Block a user