asahi-kiwi-descriptions/platforms/server.xml
Neal Gompa d927cd9af3 platforms: Use 4k target block size and sync btrfs fsoptions
Apple Silicon platforms have disks that are 4k block size.

Additionally, update the server config for Btrfs to more closely
match the workstation one.
2022-12-22 21:57:54 -05:00

30 lines
1.2 KiB
XML

<image>
<profiles>
<profile name="Server" description="Server Disk Image">
<requires profile="BootCore"/>
<requires profile="Common"/>
</profile>
</profiles>
<preferences profiles="Server">
<type image="oem" filesystem="btrfs" kernelcmdline="USE_BY_UUID_DEVICE_NAMES=1 rootdelay=300 scsi_mod.use_blk_mq=1 multipath=off" devicepersistency="by-uuid" target_blocksize="4096" bootpartition="true" bootpartsize="1000" bootfilesystem="xfs" efipartsize="100" firmware="uefi" fsmountoptions="x-systemd.growfs,compress=zstd:1">
<bootloader name="grub2" console="serial" timeout="1" timeout_style="countdown"/>
<systemdisk name="fedora">
<volume name="home"/>
<volume name="root"/>
<volume name="var"/>
</systemdisk>
<size unit="G">20</size>
<oemconfig>
<oem-resize>false</oem-resize>
</oemconfig>
</type>
</preferences>
<packages type="image" patternType="plusRecommended" profiles="Server">
<namedCollection name="container-management"/>
<namedCollection name="domain-client"/>
<namedCollection name="headless-management"/>
<namedCollection name="server-product"/>
<package name="fedora-release-server"/>
</packages>
</image>