Skip to content

Commit 0759c98

Browse files
authored
Merge pull request #72446 from SNiemann15/ocpbugs30079
[OCPBUGS3-0079] Change url and variables from {} to <>
2 parents c8af966 + 7284b15 commit 0759c98

File tree

2 files changed

+18
-19
lines changed

2 files changed

+18
-19
lines changed

modules/install-sno-ibm-z-kvm.adoc

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $ ARCH=<architecture> <1>
3333
+
3434
[source,terminal]
3535
----
36-
$ curl -k https://mirror.openshift.com/pub/openshift-v4/clients/ocp/$OCP_VERSION/openshift-client-linux.tar.gz -o oc.tar.gz
36+
$ curl -k https://mirror.openshift.com/pub/openshift-v4/${ARCH}/clients/ocp/${OCP_VERSION}/openshift-client-linux.tar.gz -o oc.tar.gz
3737
----
3838
+
3939
[source,terminal]
@@ -50,7 +50,7 @@ $ chmod +x oc
5050
+
5151
[source,terminal]
5252
----
53-
$ curl -k https://mirror.openshift.com/pub/openshift-v4/clients/ocp/$OCP_VERSION/openshift-install-linux.tar.gz -o openshift-install-linux.tar.gz
53+
$ curl -k https://mirror.openshift.com/pub/openshift-v4/${ARCH}/clients/ocp/${OCP_VERSION}/openshift-install-linux.tar.gz -o openshift-install-linux.tar.gz
5454
----
5555
+
5656
[source,terminal]
@@ -149,23 +149,23 @@ The file names contain the {product-title} version number. They resemble the fol
149149
[source,terminal]
150150
----
151151
$ virt-install \
152-
--name {vn_name} \
152+
--name <vm_name> \
153153
--autostart \
154-
--memory={memory_mb} \
154+
--memory=<memory_mb> \
155155
--cpu host \
156-
--vcpus {vcpus} \
157-
--location {media_location},kernel={rhcos_kernel},initrd={rhcos_initrd} \// <1>
156+
--vcpus <vcpus> \
157+
--location <media_location>,kernel=<rhcos_kernel>,initrd=<rhcos_initrd> \// <1>
158158
--disk size=100 \
159-
--network network={virt_network_parm} \
159+
--network network=<virt_network_parm> \
160160
--graphics none \
161161
--noautoconsole \
162-
--extra-args "ip=${IP}::${GATEWAY}:${MASK}:${VM_NAME}::none" \
163-
--extra-args "nameserver=${NAME_SERVER}" \
162+
--extra-args "ip=<ip>::<gateway>:<mask>:<hostname>::none" \
163+
--extra-args "nameserver=<name_server>" \
164164
--extra-args "ip=dhcp rd.neednet=1 ignition.platform.id=metal ignition.firstboot" \
165-
--extra-args "coreos.live.rootfs_url={rhcos_liveos}" \// <2>
166-
--extra-args "ignition.config.url={rhcos_ign}" \// <3>
165+
--extra-args "coreos.live.rootfs_url=<rhcos_liveos>" \// <2>
166+
--extra-args "ignition.config.url=<rhcos_ign>" \// <3>
167167
--extra-args "random.trust_cpu=on rd.luks.options=discard" \
168-
--extra-args "console=tty1 console=ttyS1,115200n8" \
168+
--extra-args "console=ttysclp0" \
169169
--wait
170170
----
171171
<1> For the `--location` parameter, specify the location of the kernel/initrd on the HTTP or HTTPS server.

modules/install-sno-ibm-z.adoc

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ $ ARCH=<architecture> <1>
3333
+
3434
[source,terminal]
3535
----
36-
$ curl -k https://mirror.openshift.com/pub/openshift-v4/clients/ocp/$OCP_VERSION/openshift-client-linux.tar.gz -o oc.tar.gz
36+
$ curl -k https://mirror.openshift.com/pub/openshift-v4/${ARCH}/clients/ocp/${OCP_VERSION}/openshift-client-linux.tar.gz -o oc.tar.gz
3737
----
3838
+
3939
[source,terminal]
@@ -50,7 +50,7 @@ $ chmod +x oc
5050
+
5151
[source,terminal]
5252
----
53-
$ curl -k https://mirror.openshift.com/pub/openshift-v4/clients/ocp/$OCP_VERSION/openshift-install-linux.tar.gz -o openshift-install-linux.tar.gz
53+
$ curl -k https://mirror.openshift.com/pub/openshift-v4/${ARCH}/clients/ocp/${OCP_VERSION}/openshift-install-linux.tar.gz -o openshift-install-linux.tar.gz
5454
----
5555
+
5656
[source,terminal]
@@ -152,16 +152,15 @@ The `rootfs` image is the same for FCP and DASD.
152152
----
153153
rd.neednet=1 \
154154
console=ttysclp0 \
155-
coreos.live.rootfs_url={rhcos_liveos}:8080/rootfs.img \// <1>
156-
ignition.config.url={rhcos_ign}:8080/ignition/bootstrap-in-place-for-live-iso.ign \// <2>
155+
coreos.live.rootfs_url=<rhcos_liveos>:8080/rootfs.img \// <1>
156+
ignition.firstboot ignition.platform.id=metal \
157+
ignition.config.url=<rhcos_ign>:8080/ignition/bootstrap-in-place-for-live-iso.ign \// <2>
157158
ip=encbdd0:dhcp::02:00:00:02:34:02 <3>
158159
rd.znet=qeth,0.0.bdd0,0.0.bdd1,0.0.bdd2,layer2=1 \
159160
rd.dasd=0.0.4411 \// <4>
160161
rd.zfcp=0.0.8001,0x50050763040051e3,0x4000406300000000 \// <5>
161162
zfcp.allow_lun_scan=0 \
162-
rd.luks.options=discard \
163-
ignition.firstboot ignition.platform.id=metal \
164-
console=tty1 console=ttyS1,115200n8
163+
rd.luks.options=discard
165164
----
166165
<1> For the `coreos.live.rootfs_url=` artifact, specify the matching `rootfs` artifact for the `kernel`and `initramfs` you are booting. Only HTTP and HTTPS protocols are supported.
167166
<2> For the `ignition.config.url=` parameter, specify the Ignition file for the machine role. Only HTTP and HTTPS protocols are supported.

0 commit comments

Comments
 (0)