mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-11-19 08:52:15 +00:00
f1d8641672
A Subiquity layout written with "layout:" and no "match" goes to the largest disk. With a d: or s:d: entry in linuximage.partitionfile, that disk need not be the one the entry selected, so the install could wipe a disk the entry was meant to keep it off. When a disk entry is configured, give such a layout a match on the selected disk. Refuse a use_gap layout in that case, because some Subiquity releases ignore match in use_gap mode and would install into free space on another disk. A layout with its own match, a "config:" layout and a layout without a disk entry are kept as written.