Don't grow the root partition to use the whole available space

This commit is contained in:
jbtrystram 2026-07-10 17:21:34 +02:00 committed by Jean-Baptiste Trystram
parent 985f630fd7
commit c67227ffce
4 changed files with 16 additions and 0 deletions

View file

@ -8,6 +8,10 @@ partition_table:
# secondary GPT header to the end of the disk on first boot.
# See https://github.com/coreos/fedora-coreos-config/blob/7fbf510367d495529d2a915707b547d4c663f609/overlay.d/05core/usr/lib/dracut/modules.d/35coreos-ignition/coreos-gpt-setup.sh#L30
extra_padding: 1031168
policy:
# Tell image builder to not expand the root partition
# we will do it on the first boot.
grow_root_to_fill_disk: false
partitions:
# Reserved partition — placeholder at position 1, mirrors the BIOS-BOOT
# slot on x86_64 so partition numbering stays consistent across arches

View file

@ -8,6 +8,10 @@ partition_table:
# secondary GPT header to the end of the disk on first boot.
# See https://github.com/coreos/fedora-coreos-config/blob/7fbf510367d495529d2a915707b547d4c663f609/overlay.d/05core/usr/lib/dracut/modules.d/35coreos-ignition/coreos-gpt-setup.sh#L30
extra_padding: 1031168
policy:
# Tell image builder to not expand the root partition
# we will do it on the first boot.
grow_root_to_fill_disk: false
partitions:
# PowerPC PReP Boot partition — required for GRUB on ppc64le (petitboot)
- label: "PowerPC-PReP-boot"

View file

@ -8,6 +8,10 @@ partition_table:
# secondary GPT header to the end of the disk on first boot.
# See https://github.com/coreos/fedora-coreos-config/blob/7fbf510367d495529d2a915707b547d4c663f609/overlay.d/05core/usr/lib/dracut/modules.d/35coreos-ignition/coreos-gpt-setup.sh#L30
extra_padding: 1031168
policy:
# Tell image builder to not expand the root partition
# we will do it on the first boot.
grow_root_to_fill_disk: false
partitions:
# s390x has no BIOS/EFI/PReP boot partition. Partition numbers are
# explicitly set to 3 and 4 to keep them consistent with other arches

View file

@ -8,6 +8,10 @@ partition_table:
# secondary GPT header to the end of the disk on first boot.
# See https://github.com/coreos/fedora-coreos-config/blob/7fbf510367d495529d2a915707b547d4c663f609/overlay.d/05core/usr/lib/dracut/modules.d/35coreos-ignition/coreos-gpt-setup.sh#L30
extra_padding: 1031168
policy:
# Tell image builder to not expand the root partition
# we will do it on the first boot.
grow_root_to_fill_disk: false
partitions:
# BIOS Boot partition — required for legacy BIOS boot on x86_64
- label: "BIOS-BOOT"