2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-08-27 00:56:43 +00:00
Files
xcat-core/xCAT-server
Vinícius Ferrão 5329381354 fix(getinstdisk): let Xen virtual disks reach the disk scan
The device filter accepted sd, hd, vd and nvme names, so the xvd names
that a Xen guest presents never entered the scan. On such a guest the
whole detection ran on an empty list and the script fell through to the
xvda fallback, which takes the first Xen disk without looking at any of
them.

Accept the xvd names in the filter. A Xen disk now goes through the
same classification, kernel search and driver sort as any other disk,
so a guest with more than one disk gets a chosen disk rather than the
first one. The fallback stays for the case where the scan still finds
nothing.

The nvme branch of the filter is anchored at the same time, so a name
only matches when it starts with nvme.
2026-08-21 01:13:15 -03:00
..
2026-04-23 02:01:33 -03:00
2016-07-21 13:27:40 -04:00