Skip to content

Commit d06ba9c

Browse files
committed
OSDOCS-13976: update bootc for MicroShift GA
1 parent 467a51a commit d06ba9c

File tree

4 files changed

+19
-14
lines changed

4 files changed

+19
-14
lines changed

_topic_maps/_topic_map_ms.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ Distros: microshift
7878
Topics:
7979
- Name: Understanding image mode for RHEL
8080
File: microshift-about-rhel-image-mode
81-
- Name: Installing a bootc image
81+
- Name: Installing a bootc image and publishing to a registry
8282
File: microshift-install-bootc-image
83-
- Name: Running the bootc image
83+
- Name: Running the bootc image in a virtual machine
8484
File: microshift-install-running-bootc-image-vm
8585
---
8686
Name: Using RHEL Kickstarts

modules/microshift-install-bootc-build-image.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,22 +71,22 @@ Podman uses the host subscription information and repositories inside the contai
7171
+
7272
[source,terminal]
7373
----
74-
PULL_SECRET=~/.pull-secret.json
74+
$ PULL_SECRET=~/.pull-secret.json
7575
----
7676

7777
. Configure the `USER_PASSWD` environment variable:
7878
+
7979
[source,terminal,subs="+quotes"]
8080
----
81-
USER_PASSWD=_<redhat_user_password>_ <1>
81+
$ USER_PASSWD=_<redhat_user_password>_ <1>
8282
----
8383
<1> Replace _<redhat_user_password>_ with your password.
8484

8585
. Configure the `IMAGE_NAME` environment variable:
8686
+
8787
[source,terminal,subs="attributes+"]
8888
----
89-
IMAGE_NAME=microshift-{product-version}-bootc
89+
$ IMAGE_NAME=microshift-{product-version}-bootc
9090
----
9191

9292
. Create a local bootc image by running the following image build command:
@@ -98,7 +98,7 @@ $ sudo podman build --authfile "${PULL_SECRET}" -t "${IMAGE_NAME}" \
9898
-f Containerfile
9999
----
100100
+
101-
[NOTE]
101+
[IMPORTANT]
102102
====
103103
How secrets are used during the image build:
104104

modules/microshift-install-bootc-creating-vm.adoc

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,21 @@ You can create a virtual machine by using the {op-system-base-full} boot ISO ima
2222

2323
. Copy the downloaded file to the `/var/lib/libvirt/images` directory.
2424

25-
. Use your values to configure the following environment variables:
25+
. Configure the VMNAME environment variable with your value by running the following command:
2626
+
2727
[source,terminal,subs="attributes+"]
2828
----
29-
VMNAME=microshift-{product-version}-bootc
30-
NETNAME=default
29+
$ VMNAME=microshift-{product-version}-bootc
3130
----
3231

33-
. Create a {op-system-base-full} virtual machine with 2 cores, 2GB of RAM and 20GB of storage by running the following command:
32+
. Configure the NETNAME environment variable with your value by running the following command:
33+
+
34+
[source,terminal,subs="attributes+"]
35+
----
36+
$ NETNAME=default
37+
----
38+
39+
. Create a {op-system-base} virtual machine with 2 cores, 2GB of RAM and 20GB of storage by running the following command:
3440
+
3541
[source,terminal,subs="attributes+"]
3642
----
@@ -49,14 +55,14 @@ $ sudo virt-install \
4955
+
5056
[NOTE]
5157
====
52-
The `sudo virt-install` command uses the Kickstart file to pull a bootc image from the remote registry and install the {op-system-base-full} operating system.
58+
The `sudo virt-install` command uses the Kickstart file to pull a bootc image from the remote registry and install the {op-system-base} operating system.
5359
====
5460

5561
. Log in to the virtual machine by using your `redhat` credentials.
5662

5763
.Verification
5864

59-
. Verify that all the {microshift-short} pods are running without error, by running the following command:
65+
. Verify that all of the {microshift-short} pods are running without error by entering the following command:
6066
+
6167
[source,terminal]
6268
----
@@ -69,7 +75,6 @@ $ watch sudo oc get pods -A \
6975
----
7076
NAMESPACE NAME READY STATUS RESTARTS AGE
7177
kube-system csi-snapshot-controller-7cfb9df49c-kc9dx 1/1 Running 0 31s
72-
kube-system csi-snapshot-webhook-5c6b978878-jzk5r 1/1 Running 0 28s
7378
openshift-dns dns-default-rpnlt 2/2 Running 0 14s
7479
openshift-dns node-resolver-rxvdk 1/1 Running 0 31s
7580
openshift-ingress router-default-69cd7b5545-7zcw7 1/1 Running 0 29s

modules/microshift-install-bootc-get-published-image.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[id="microshift-install-bootc-get-published-image_{context}"]
77
= Getting the published bootc image for {microshift-short}
88

9-
You can find and use the {microshift-short} container images to install {op-system-image}.
9+
You can use the {microshift-short} container images to install {op-system-image}.
1010

1111
.Prerequisites
1212

0 commit comments

Comments
 (0)