@@ -64,11 +64,11 @@ $ sudo restorecon -Rv /home/kni/rhcos_image_cache/
64
64
$ export RHCOS_QEMU_URI=$(/usr/local/bin/openshift-baremetal-install coreos print-stream-json | jq -r --arg ARCH "$(arch)" '.architectures[$ARCH].artifacts.qemu.formats["qcow2.gz"].disk.location')
65
65
----
66
66
67
- . Get the path where the image is published :
67
+ . Get the name of the image that the installation program will deploy on the bootstrap VM :
68
68
+
69
69
[source,terminal]
70
70
----
71
- $ export RHCOS_QEMU_PATH=$(/usr/local/bin/openshift-baremetal-install coreos print-stream-json | jq -r --arg ARCH "$(arch)" '.architectures[$ARCH].artifacts.qemu.formats["qcow2.gz"].disk["sha256"]')
71
+ $ export RHCOS_QEMU_NAME=${RHCOS_QEMU_URI##* /}
72
72
----
73
73
74
74
. Get the SHA hash for the {op-system} image that will be deployed on the bootstrap VM:
@@ -82,7 +82,7 @@ $ export RHCOS_QEMU_UNCOMPRESSED_SHA256=$(/usr/local/bin/openshift-baremetal-ins
82
82
+
83
83
[source,terminal]
84
84
----
85
- $ curl -L ${RHCOS_QEMU_URI} -o /home/kni/rhcos_image_cache/${RHCOS_QEMU_PATH }
85
+ $ curl -L ${RHCOS_QEMU_URI} -o /home/kni/rhcos_image_cache/${RHCOS_QEMU_NAME }
86
86
----
87
87
88
88
. Confirm SELinux type is of `httpd_sys_content_t` for the new file:
@@ -115,7 +115,7 @@ $ export BAREMETAL_IP=$(ip addr show dev baremetal | awk '/inet /{print $2}' | c
115
115
+
116
116
[source,terminal]
117
117
----
118
- $ export BOOTSTRAP_OS_IMAGE="http://${BAREMETAL_IP}:8080/${RHCOS_QEMU_PATH }?sha256=${RHCOS_QEMU_UNCOMPRESSED_SHA256}"
118
+ $ export BOOTSTRAP_OS_IMAGE="http://${BAREMETAL_IP}:8080/${RHCOS_QEMU_NAME }?sha256=${RHCOS_QEMU_UNCOMPRESSED_SHA256}"
119
119
----
120
120
+
121
121
[source,terminal]
@@ -129,7 +129,8 @@ $ echo " bootstrapOSImage=${BOOTSTRAP_OS_IMAGE}"
129
129
----
130
130
platform:
131
131
baremetal:
132
- bootstrapOSImage: http://<BAREMETAL_IP>:8080/<RHCOS_QEMU_PATH>?sha256=<RHCOS_QEMU_UNCOMPRESSED_SHA256 >
132
+ bootstrapOSImage: < bootstrap _os_image > <1 >
133
133
----
134
+ <1> Replace `<bootstrap_os_image>` with the value of `$BOOTSTRAP_OS_IMAGE` .
134
135
+
135
136
See the "Configuration files" section for additional details.
0 commit comments