mirror of
https://github.com/xcat2/confluent.git
synced 2026-11-12 19:16:18 +00:00
4aa6bf8af5
The attribute help promises "a specific device name", but getinstalldisk only understood "m2" and "/dev/<name>". A plain "nvme0n1" aborted the install with "Unknown deployment.storage specification", and a "/dev/<name>" that matched no disk was silently ignored, so the OS went to whatever disk the default ordering picked. For an attribute meant to pin the OS disk that is the dangerous failure mode. Accept a kernel name with or without /dev/ and resolve /dev/disk/by-* links to their kernel name, so a disk can be pinned by a stable path. When nothing matches, fail with "No disks match" like the m2 filter already does. Document the accepted forms in the attribute help.