Skip to content

Commit b279ae8

Browse files
Merge pull request #85240 from ShaunaDiaz/OSDOCS-11273
OSDOCS-11273: adds kickstart examples MicroShift
2 parents c80a94f + 3f857c1 commit b279ae8

22 files changed

+332
-51
lines changed

_attributes/attributes-microshift.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
:op-system-ostree: RHEL for Edge
2020
:op-system-rt-kernel: Red Hat Enterprise Linux for Real Time (real-time kernel)
2121
:op-system-rtk: real-time kernel
22+
:op-system-image: image mode for RHEL
2223
:op-system-version: 9.4
2324
:op-system-version-major: 9
2425
:op-system-bundle: Red Hat Device Edge

_topic_maps/_topic_map_ms.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,13 @@ Topics:
7979
- Name: Installing with RHEL image mode
8080
File: microshift-install-rhel-image-mode
8181
---
82+
Name: Using RHEL Kickstarts
83+
Dir: microshift_install_kickstarts
84+
Distros: microshift
85+
Topics:
86+
- Name: Using a Kickstart file for automating installation
87+
File: microshift-rhel-kickstarts
88+
---
8289
Name: Updating
8390
Dir: microshift_updating
8491
Distros: microshift
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../_attributes/

microshift_install_kickstarts/images

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../images/
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
:_mod-docs-content-type: ASSEMBLY
2+
include::_attributes/attributes-microshift.adoc[]
3+
[id="microshift-rhel-kickstarts"]
4+
= Using Kickstart files for installing {microshift-short} in {op-system-base}
5+
:context: microshift-rhel-kickstarts
6+
7+
toc::[]
8+
9+
Use a Kickstart file that automates the installation of an {op-system-base} image with {microshift-short}.
10+
11+
include::modules/microshift-rhel-kickstarts-con.adoc[leveloffset=+1]
12+
13+
include::modules/microshift-kickstart-prep.adoc[leveloffset=+2]
14+
15+
include::modules/microshift-kickstart-rpm-install.adoc[leveloffset=+2]
16+
17+
include::modules/microshift-kickstart-ostree-install.adoc[leveloffset=+2]
18+
19+
include::modules/microshift-kickstart-bootc-install.adoc[leveloffset=+2]

microshift_install_kickstarts/modules

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../modules/
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../snippets/

microshift_install_rpm_ostree/microshift-embed-in-rpm-ostree.adoc

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ include::_attributes/attributes-microshift.adoc[]
66

77
toc::[]
88

9-
You can embed {microshift-short} into a {op-system-ostree-first} image. Use this guide to build a {op-system-base} image containing {microshift-short}.
9+
Use this guide to build a {op-system-base} image containing {microshift-short}.
1010

1111
include::modules/microshift-preparing-for-image-building.adoc[leveloffset=+1]
1212

@@ -47,18 +47,22 @@ include::modules/microshift-add-blueprint-build-iso.adoc[leveloffset=+1]
4747

4848
include::modules/microshift-download-iso-prep-for-use.adoc[leveloffset=+1]
4949

50-
include::modules/microshift-provisioning-ostree.adoc[leveloffset=+1]
50+
include::modules/microshift-embed-kickstart-in-iso.adoc[leveloffset=+2]
5151

5252
[role="_additional-resources"]
5353
.Additional resources
5454

55-
* link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html-single/composing_installing_and_managing_rhel_for_edge_images/index[{op-system-ostree} documentation]
56-
* xref:../microshift_install_rpm/microshift-install-rpm.adoc#microshift-install-system-requirements_microshift-install-rpm[System requirements for installing MicroShift]
55+
* link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html-single/composing_installing_and_managing_rhel_for_edge_images/index[Composing, installing, and managing RHEL for Edge images]
56+
* xref:../microshift_install_rpm/microshift-install-rpm.adoc#microshift-install-system-requirements_microshift-install-rpm[System requirements for installing {microshift-short}]
5757
* link:https://console.redhat.com/openshift/install/pull-secret[Red Hat Hybrid Cloud Console pull secret]
5858
* xref:../microshift_networking/microshift-firewall.adoc#microshift-firewall-req-settings_microshift-firewall[Required firewall settings]
59-
* link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/performing_an_advanced_rhel_9_installation/creating-kickstart-files_installing-rhel-as-an-experienced-user[Creating a Kickstart file]
59+
//* xref:../microshift_install_kickstarts/microshift-rhel-kickstarts.adoc#microshift-rhel-kickstarts[Using Kickstart files for embedding {microshift-short} in {op-system-base} installation]
60+
* link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/automatically_installing_rhel/creating-kickstart-files_rhel-installer[Creating Kickstart files]
61+
* link:https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/automatically_installing_rhel/kickstart-script-file-format-reference_rhel-installer#kickstart-file-format_kickstart-script-file-format-reference[A.1. Kickstart file format]
6062
* link:https://access.redhat.com/solutions/60959[How to embed a Kickstart file into an ISO image]
6163
64+
//Add modules about using the VM and getting the ISO up and running, then starting MicroShift...
65+
6266
include::modules/microshift-accessing.adoc[leveloffset=+1]
6367

6468
include::modules/microshift-accessing-cluster-locally.adoc[leveloffset=+2]

microshift_running_apps/microshift-embed-apps-offline-use.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ include::modules/microshift-embed-images-offline-use.adoc[leveloffset=+1]
1919

2020
* xref:../microshift_install_rpm_ostree/microshift-embed-in-rpm-ostree.adoc#microshift-creating-ostree-iso_microshift-embed-in-rpm-ostree[Creating the {op-system-ostree} image]
2121

22-
* xref:../microshift_install_rpm_ostree/microshift-embed-in-rpm-ostree.adoc#microshift-add-blueprint-build-iso_microshift-embed-in-rpm-ostree[Add the blueprint to Image Builder and build the ISO]
22+
* xref:../microshift_install_rpm_ostree/microshift-embed-in-rpm-ostree.adoc#microshift-add-blueprint-build-iso_microshift-embed-in-rpm-ostree[Add the blueprint to image builder and build the ISO]
2323

2424
* xref:../microshift_install_rpm_ostree/microshift-embed-in-rpm-ostree.adoc#microshift-download-iso-prep-for-use_microshift-embed-in-rpm-ostree[Download the ISO and prepare it for use]
2525

microshift_running_apps/microshift-embedding-apps-tutorial.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ include::modules/microshift-adding-app-rpms-to-blueprint.adoc[leveloffset=+2]
1919
//additional resources for adding app rpms to blueprint
2020
[role="_additional-resources"]
2121
.Additional resources
22-
* link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/composing_installing_and_managing_rhel_for_edge_images/composing-a-rhel-for-edge-image-using-image-builder-command-line_composing-installing-managing-rhel-for-edge-images#doc-wrapper[Composing a {op-system-ostree} image using the Image Builder CLI]
22+
* link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/composing_installing_and_managing_rhel_for_edge_images/composing-a-rhel-for-edge-image-using-image-builder-command-line_composing-installing-managing-rhel-for-edge-images#doc-wrapper[Composing a {op-system-ostree} image using the image builder CLI]
2323
2424
* link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/composing_installing_and_managing_rhel_for_edge_images/composing-a-rhel-for-edge-image-using-image-builder-command-line_composing-installing-managing-rhel-for-edge-images#network_based_deployments_workflow[Network-based deployments workflow]
2525
@@ -41,4 +41,4 @@ include::modules/microshift-adding-app-rpms-to-blueprint.adoc[leveloffset=+2]
4141

4242
* link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/{op-system-version-major}/html-single/composing_installing_and_managing_rhel_for_edge_images/index#composing-a-rhel-for-edge-image-using-image-builder-command-line_composing-installing-managing-rhel-for-edge-images[Composing a {op-system-ostree} image using image builder command-line]
4343

44-
* link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/{op-system-version-major}/html-single/composing_installing_and_managing_rhel_for_edge_images/index#edge-image-builder-system-requirements_setting-up-image-builder[Image Builder system requirements]
44+
* link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/{op-system-version-major}/html-single/composing_installing_and_managing_rhel_for_edge_images/index#edge-image-builder-system-requirements_setting-up-image-builder[Image builder system requirements]

0 commit comments

Comments
 (0)