Skip to content

Commit 4b1aae3

Browse files
Merge pull request #51090 from xenolinux/use-disk-id
BZ1924910: Update /dev/sda to /dev/disk/by-id
2 parents f5de9c2 + 9847040 commit 4b1aae3

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

modules/install-sno-generating-the-install-iso-manually.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ networking: <5>
105105
platform:
106106
none: {}
107107
bootstrapInPlace:
108-
installationDisk: <path_to_install_drive> <7>
108+
installationDisk: /dev/disk/by-id/<disk_id> <7>
109109
pullSecret: '<pull_secret>' <8>
110110
sshKey: |
111111
<ssh_key> <9>
@@ -116,7 +116,7 @@ sshKey: |
116116
<4> Set the `metadata` name to the cluster name.
117117
<5> Set the `networking` details. OVN-Kubernetes is the only allowed networking type for single-node clusters.
118118
<6> Set the `cidr` value to match the subnet of the {sno} cluster.
119-
<7> Set the path to the installation disk drive, for example, `/dev/sda`.
119+
<7> Set the path to the installation disk drive, for example, `/dev/disk/by-id/wwn-0x64cd98f04fde100024684cf3034da5c2`.
120120
<8> Copy the {cluster-manager-url-pull} and add the contents to this configuration setting.
121121
<9> Add the public SSH key from the administration host so that you can log in to the cluster after installation.
122122

modules/ipi-install-configuring-the-install-config-file.adoc

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ platform:
5050
password: <password>
5151
bootMACAddress: <NIC1_mac_address>
5252
rootDeviceHints:
53-
deviceName: "/dev/sda"
53+
deviceName: "/dev/disk/by-id/<disk_id>" <5>
5454
- name: <openshift_master_1>
5555
role: master
5656
bmc:
@@ -59,7 +59,7 @@ platform:
5959
password: <password>
6060
bootMACAddress: <NIC1_mac_address>
6161
rootDeviceHints:
62-
deviceName: "/dev/sda"
62+
deviceName: "/dev/disk/by-id/<disk_id>" <5>
6363
- name: <openshift_master_2>
6464
role: master
6565
bmc:
@@ -68,7 +68,7 @@ platform:
6868
password: <password>
6969
bootMACAddress: <NIC1_mac_address>
7070
rootDeviceHints:
71-
deviceName: "/dev/sda"
71+
deviceName: "/dev/disk/by-id/<disk_id>" <5>
7272
- name: <openshift_worker_0>
7373
role: worker
7474
bmc:
@@ -84,7 +84,7 @@ platform:
8484
password: <password>
8585
bootMACAddress: <NIC1_mac_address>
8686
rootDeviceHints:
87-
deviceName: "/dev/sda"
87+
deviceName: "/dev/disk/by-id/<disk_id>" <5>
8888
pullSecret: '<pull_secret>'
8989
sshKey: '<ssh_pub_key>'
9090
----
@@ -93,6 +93,7 @@ sshKey: '<ssh_pub_key>'
9393
<2> When deploying a cluster with static IP addresses, you must set the `bootstrapExternalStaticIP` configuration setting to specify the static IP address of the bootstrap VM when there is no DHCP server on the `baremetal` network.
9494
<3> When deploying a cluster with static IP addresses, you must set the `bootstrapExternalStaticGateway` configuration setting to specify the gateway IP address for the bootstrap VM when there is no DHCP server on the `baremetal` network.
9595
<4> See the BMC addressing sections for more options.
96+
<5> Set the path to the installation disk drive, for example, `/dev/disk/by-id/wwn-0x64cd98f04fde100024684cf3034da5c2`.
9697

9798
. Create a directory to store the cluster configuration:
9899
+

0 commit comments

Comments
 (0)