On Fri, 2024-01-19 at 09:48 +0100, Thomas Lange wrote:

> I use this script to manipulate the disklist:
> http://fai-project.org/download/misc/99-disklist.sh

Attached is the script which I wrote to do this. It goes in the class
directory.

Some of our servers have NVMe drives that should be used for operating
system disks, which is why they can be skipped.

> In the next FAI version 6.2 (the release may come in the next few
> days) there are more functions to change the order of the disks, like
> smallestdisk or matchdisks which can match to a certain serial number.

Nice!

Cheers,
Andrew

-- 
Andrew Ruthven, Wellington, New Zealand
and...@etc.gen.nz         |
Catalyst Cloud:           | This space intentionally left blank
 https://catalystcloud.nz |

Attachment: 94-disklist-order
Description: application/shellscript

Antwort per Email an