Skip to content

Commit 25b174e

Browse files
authored
Merge pull request #70557 from SNiemann15/ibmz_multiarch_compute
OCPBUGS-27224 Change vmname to hostname and variable bracket format
2 parents 1320ba8 + 50a74df commit 25b174e

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

modules/machine-user-infra-machines-ibm-z-kvm.adoc

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -87,21 +87,21 @@ $ curl -LO $(oc -n openshift-machine-config-operator get configmap/coreos-bootim
8787
----
8888
$ virt-install \
8989
--connect qemu:///system \
90-
--name {vm_name} \
90+
--name <vm_name> \
9191
--autostart \
9292
--os-variant rhel9.2 \ <1>
9393
--cpu host \
94-
--vcpus {vcpus} \
95-
--memory {memory_mb} \
96-
--disk {vm_name}.qcow2,size={image_size | default(100,true)} \
97-
--network network={virt_network_parm} \
98-
--location {media_location},kernel={rhcos_kernel},initrd={rhcos_initrd} \ <2>
94+
--vcpus <vcpus> \
95+
--memory <memory_mb> \
96+
--disk <vm_name>.qcow2,size=<image_size> \
97+
--network network=<virt_network_parm> \
98+
--location <media_location>,kernel=<rhcos_kernel>,initrd=<rhcos_initrd> \ <2>
9999
--extra-args "rd.neednet=1" \
100100
--extra-args "coreos.inst.install_dev=/dev/vda" \
101-
--extra-args "coreos.inst.ignition_url={worker_ign}" \ <3>
102-
--extra-args "coreos.live.rootfs_url={rhcos_rootfs}" \ <4>
103-
--extra-args "ip={ip}::{default_gateway}:{subnet_mask_length}:{vm_name}::none:{MTU}" \
104-
--extra-args "nameserver={dns}" \
101+
--extra-args "coreos.inst.ignition_url=<worker_ign>" \ <3>
102+
--extra-args "coreos.live.rootfs_url=<rhcos_rootfs>" \ <4>
103+
--extra-args "ip=<ip>::<default_gateway>:<subnet_mask_length>:<hostname>::none:<MTU>" \ <5>
104+
--extra-args "nameserver=<dns>" \
105105
--extra-args "console=ttysclp0" \
106106
--noautoconsole \
107107
--wait
@@ -121,6 +121,7 @@ The `os-variant` is case sensitive.
121121
<2> For `--location`, specify the location of the kernel/initrd on the HTTP or HTTPS server.
122122
<3> For `coreos.inst.ignition_url=`, specify the `worker.ign` Ignition file for the machine role. Only HTTP and HTTPS protocols are supported.
123123
<4> For `coreos.live.rootfs_url=`, specify the matching rootfs artifact for the `kernel` and `initramfs` you are booting. Only HTTP and HTTPS protocols are supported.
124+
<5> Optional: For `hostname`, specify the fully qualified hostname of the client machine.
124125
--
125126
+
126127
[NOTE]

0 commit comments

Comments
 (0)