@@ -30,13 +30,13 @@ For example, the following Containerfile creates a custom layered image from an
30
30
[source,yaml]
31
31
----
32
32
# Using a 4.12.0 image
33
- FROM quay.io/openshift-release/ocp-release@sha256:6499bc69a0707fcad481c3cb73225b867d <1>
33
+ FROM quay.io/openshift-release/ocp-release@sha256... <1>
34
34
#Install hotfix rpm
35
35
RUN rpm-ostree override replace https://example.com/hotfixes/haproxy-1.0.16-5.el8.src.rpm && \ <2>
36
36
rpm-ostree cleanup -m && \
37
37
ostree container commit
38
38
----
39
- <1> Specifies an {product-title} release image.
39
+ <1> Specifies the {op-system} base image of your cluster .
40
40
<2> Specifies the path to the Hotfix package.
41
41
+
42
42
[NOTE]
@@ -63,7 +63,7 @@ metadata:
63
63
machineconfiguration.openshift.io/role: worker <1>
64
64
name: os-layer-custom
65
65
spec:
66
- osImageURL: quay.io/my-registry/custom-image@sha256:306b606615dcf8f0e5e7d87fee3 <2>
66
+ osImageURL: quay.io/my-registry/custom-image@sha256... <2>
67
67
----
68
68
<1> Specifies the machine config pool to apply the custom layered image.
69
69
<2> Specifies the path to the custom layered image in the repository.
@@ -133,7 +133,7 @@ Annotations: machineconfiguration.openshift.io/generated-by-controller-version:
133
133
API Version: machineconfiguration.openshift.io/v1
134
134
Kind: MachineConfig
135
135
...
136
- Os Image URL: quay.io/my-registry/custom-image@sha256:306b606615dcf8f0e5e7d87fee3
136
+ Os Image URL: quay.io/my-registry/custom-image@sha256...
137
137
----
138
138
139
139
.. Check that the associated machine config pool is updating with the new machine config:
@@ -199,7 +199,7 @@ sh-4.4# sudo rpm-ostree status
199
199
----
200
200
State: idle
201
201
Deployments:
202
- * ostree-unverified-registry:quay.io/my-registry/custom-image@sha256:306b606615dcf8f0e5e7d87fee3
203
- Digest: sha256:306b606615dcf8f0e5e7d87fee3
202
+ * ostree-unverified-registry:quay.io/my-registry/...
203
+ Digest: sha256:...
204
204
----
205
205
0 commit comments