Hi Chris,

On Mon, Jan 24, 2022 at 8:54 PM Chris Murphy <lists@colorremedies.com> wrote:
Neal pointed me to:
https://github.com/rhinstaller/anaconda/blob/master/data/profile.d/

Is there some documentation about the profile format and options? Looking at:


the format and options are documented here: https://anaconda-installer.readthedocs.io/en/latest/configuration-files.html
 
https://github.com/rhinstaller/anaconda/blob/master/data/profile.d/fedora-server.conf#L19

I wonder if I will luck out and this is as easy as modifying
fedora-kinoite.conf and fedora-silverblue.conf to include:

[Storage]
default_scheme = BTRFS
btrfs_compression = zstd:1
default_partitioning =
   /
   /var
   /home


This is going in the right direction, but the default partitioning layout is applied to all supported schemes (Btrfs, LVM and standard partitioning). I think we can support a new attribute 'btrfs' that would signal that the mount point should be created only for the Btrfs scheme. It is simple, I can open a PR for that today.

Then the profiles can specify:
 
default_partitioning =
  /
  /var (btrfs)
  /home


Thanks,

Chris Murphy
_______________________________________________
Anaconda-devel mailing list -- anaconda-devel@lists.fedoraproject.org
To unsubscribe send an email to anaconda-devel-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/anaconda-devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure