9.6. 下载 RHCOS 集群镜像
安装程序需要 Red Hat Enterprise Linux CoreOS (RHCOS) 镜像来安装集群。在可选时,在部署前下载 Red Hat Enterprise Linux CoreOS (RHCOS) 会删除创建集群时访问互联网的需要。
使用安装程序查找并下载 Red Hat Enterprise Linux CoreOS (RHCOS) 镜像。
先决条件
- 运行安装程序的主机可以访问互联网。
流程
进入包含安装程序的目录并运行以下命令:
$ ./openshift-install coreos print-stream-json使用命令的输出来查找 IBM Cloud® 镜像的位置。
.Example output ---- "release": "415.92.202311241643-0", "formats": { "qcow2.gz": { "disk": { "location": "https://rhcos.mirror.openshift.com/art/storage/prod/streams/4.15-9.2/builds/415.92.202311241643-0/x86_64/rhcos-415.92.202311241643-0-ibmcloud.x86_64.qcow2.gz", "sha256": "6b562dee8431bec3b93adeac1cfefcd5e812d41e3b7d78d3e28319870ffc9eae", "uncompressed-sha256": "5a0f9479505e525a30367b6a6a6547c86a8f03136f453c1da035f3aa5daa8bc9" ----- 下载并提取镜像存档。使镜像在安装程序用来创建集群的主机上可用。