From d5b46dabe342aacd27e1920944afb81c3cb3f2a2 Mon Sep 17 00:00:00 2001 From: niusmallnan Date: Wed, 31 Jul 2019 14:36:24 +0800 Subject: [PATCH 1/2] RancherOS: caching imags when installing to disk --- .../server/install-to-disk/_index.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/content/os/v1.x/en/installation/running-rancheros/server/install-to-disk/_index.md b/content/os/v1.x/en/installation/running-rancheros/server/install-to-disk/_index.md index 86c83c842d5..29f7bbd647a 100644 --- a/content/os/v1.x/en/installation/running-rancheros/server/install-to-disk/_index.md +++ b/content/os/v1.x/en/installation/running-rancheros/server/install-to-disk/_index.md @@ -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 -c -s +``` + ### SSH into RancherOS After installing RancherOS, you can ssh into RancherOS using your private key and the **rancher** user. From ccff461a6dbc696781262e7b31a68b8822a0521b Mon Sep 17 00:00:00 2001 From: Denise Date: Wed, 4 Sep 2019 11:14:01 -0700 Subject: [PATCH 2/2] Update _index.md --- .../running-rancheros/server/install-to-disk/_index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/os/v1.x/en/installation/running-rancheros/server/install-to-disk/_index.md b/content/os/v1.x/en/installation/running-rancheros/server/install-to-disk/_index.md index 29f7bbd647a..e0deb1b54a4 100644 --- a/content/os/v1.x/en/installation/running-rancheros/server/install-to-disk/_index.md +++ b/content/os/v1.x/en/installation/running-rancheros/server/install-to-disk/_index.md @@ -86,13 +86,13 @@ Alternatively, you can set the installer image to any image in System Docker to _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: +Some configurations included in `cloud-config` require images to be downloaded from Docker to start. After installation, these images are downloaded automatically by RancherOS when booting. An example of these configurations are: - 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`: +If you want to download and save these images to disk during installation, they will be cached and not need to be downloaded again upon each boot. You can cache these images by adding `-s` when using `ros install`: ``` $ ros install -d -c -s