[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

order of classes in fai 5.3~beta4



With the current FAI version 5.3~beta4 we get a list of classes which
selects the wrong disk partitioning config file. When you call

# fai-diskimage -vN -u small -S5G -cGCE /tmp/disk.raw

you get
List of all classes:  DEFAULT GCE AMD64 CLOUD FAIBASE DEBIAN DEMO GRUB_PC small LAST

and setup-storage selects
Using config file: /srv/fai/config/disk_config/FAIBASE

instead of selecting the CLOUD disk config. This ca be fixed by
moving class/02-classes to class/80-classes. Then all classes defined
in 80-classes get a higher priority than those defined in
50-host-classes. What do you think about this solution?


--
regards Thomas


Reply to: