Hi Reiner,

here's an idea how you can implement it using a hook.
The hook is called for e.g. hooks/partition.DEFAULT
In this hook you concatenate the disk_config files for all classes
that match and write the output to disk_config/$HOSTNAME
Then setup-storage will use  this file. IIRC the FAI config space is
mounted read-only, but writeable using a ramdisk. So you won't modify
things on the server.

Here's some bash code:
for c in $classes; do
  if [ -f $FAI/disk_config/$c ]; then
        cat $FAI/disk_config/$c >> $FAI/disk_config/$HOSTNAME
done

--
best regards Thomas

Reply via email to