Skip to content

Commit 8b06cc7

Browse files
committed
Update RHCOS image upload steps for GCP
1 parent 682c1ea commit 8b06cc7

File tree

1 file changed

+19
-4
lines changed

1 file changed

+19
-4
lines changed

modules/installation-gcp-user-infra-rhcos.adoc

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ your {product-title} nodes.
1212

1313
ifndef::openshift-origin[]
1414
. Obtain the {op-system} image from the
15-
link:https://mirror.openshift.com/pub/openshift-v4/dependencies/<opsystem/latest/[{op-system} image mirror]
15+
link:https://mirror.openshift.com/pub/openshift-v4/dependencies/rhcos/latest/[{op-system} image mirror]
1616
page.
1717
+
1818
[IMPORTANT]
@@ -24,19 +24,34 @@ that matches your {product-title} version if it is available.
2424
====
2525
+
2626
The file name contains the {product-title} version number in the format
27-
`rhcos-<version>-gcp.tar`.
27+
`rhcos-<version>-<arch>-gcp.<arch>.tar.gz`.
2828
endif::openshift-origin[]
2929
ifdef::openshift-origin[]
3030
. Obtain the {op-system} image from the
3131
link:https://getfedora.org/en/coreos/download?tab=cloud_operators&stream=stable[{op-system} Downloads] page
3232
endif::openshift-origin[]
3333

34-
. Export the following variable:
34+
. Create the Google storage bucket:
3535
+
3636
[source,terminal]
3737
----
38-
$ export IMAGE_SOURCE=<downloaded_image_file_path>
38+
$ gsutil mb gs://<bucket_name>
3939
----
40+
41+
. Upload the {op-system} image to the Google storage bucket:
42+
+
43+
[source,terminal]
44+
----
45+
$ gsutil cp <downloaded_image_file_path>/rhcos-<version>-x86_64-gcp.x86_64.tar.gz gs://<bucket_name>
46+
----
47+
48+
. Export the uploaded {op-system} image location as a variable:
49+
+
50+
[source,terminal]
51+
----
52+
$ export IMAGE_SOURCE=`gs://<bucket_name>/rhcos-<version>-x86_64-gcp.x86_64.tar.gz`
53+
----
54+
4055
. Create the cluster image:
4156
+
4257
[source,terminal]

0 commit comments

Comments
 (0)