File tree Expand file tree Collapse file tree 2 files changed +1
-55
lines changed Expand file tree Collapse file tree 2 files changed +1
-55
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,6 @@ include::modules/microshift-install-system-requirements.adoc[leveloffset=+1]
1414include::modules/microshift-install-rpm-preparing.adoc[leveloffset=+1]
1515
1616[role="_additional-resources"]
17- [id="_additional-resources_microshift-install-rpm"]
1817.Additional resources
1918
2019* Download the link:https://console.redhat.com/openshift/install/pull-secret[pull secret] from the Red Hat Hybrid Cloud Console.
@@ -44,4 +43,4 @@ include::modules/microshift-accessing-cluster-locally.adoc[leveloffset=+2]
4443include::modules/microshift-accessing-cluster-remotely-admin.adoc[leveloffset=+2]
4544include::modules/microshift-accessing-cluster-remotely-non-admin.adoc[leveloffset=+2]
4645
47- //all xrefs working on previews
46+ //note: additional resources are deliberately set without ID and context so that they trail modules; these are not intended to appear as assembly-level additional resources
Original file line number Diff line number Diff line change @@ -23,56 +23,3 @@ $ sudo subscription-manager repos
2323 -- enable rhocp-{ocp-version} -for-{rhel-major} -$(uname -i)-rpms
2424 -- enable fast-datapath-for-{rhel-major} -$(uname -i)-rpms
2525----
26-
27- . Install the `reposync` and `createrepo` tools by running the following command:
28- +
29- [source,terminal]
30- ----
31- $ sudo yum install -y yum-utils
32- ----
33-
34- . Sync the {product-title} RPM packages to your build host by running the following command:
35- +
36- [source,terminal,subs="attributes+"]
37- ----
38- $ sudo reposync -- arch=$(uname -i) -- arch=noarch -- gpgcheck \
39- -- download-path REPO_PATH=/var/repos/microshift-local \
40- -- repo=rhocp-{ocp-version} -for-{rhel-major} -$(uname -i)-rpms \
41- -- repo=fast-datapath-for-{rhel-major} -$(uname -i)-rpms
42- ----
43-
44- . Remove `coreos` packages to avoid conflicts by running the following command:
45- +
46- [source,terminal]
47- ----
48- $ sudo find ${REPO_PATH} /microshift-local -name \* coreos\* -exec rm -f {} \;
49- ----
50-
51- . Create a local RPM repository by running the following command:
52- +
53- [source,terminal]
54- ----
55- $ sudo createrepo ${REPO_PATH} /microshift-local
56- ----
57-
58- . Create an Image Builder source file for this repository by running the following command:
59- +
60- [source,terminal]
61- ----
62- $ sudo tee ${REPO_PATH} /microshift-local/microshift.toml > /dev/null <<EOF
63- id = "microshift-local"
64- name = "MicroShift local repo"
65- type = "yum-baseurl"
66- url = "file:///${REPO_PATH} /microshift-local/"
67- check_gpg = false
68- check_ssl = false
69- system = false
70- EOF
71- ----
72-
73- . Add this source file to Image Builder by running the following command:
74- +
75- [source,terminal]
76- ----
77- $ sudo composer-cli sources add ${REPO_PATH} /microshift-local/microshift.toml
78- ----
You can’t perform that action at this time.
0 commit comments