teams/cloud: Drop /boot partition and use a Btrfs subvolume for /boot
This lets us free up the space allocated for the partition and gives us dynamically allocated space for boot data like we have with the rest of the operating system. We do not do this for s390x because zipl does not support it. Reference: https://fedoraproject.org/wiki/Changes/BtrfsBootForCloud
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="compress=zstd:1"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="2000" bootfilesystem="ext4" efipartsize="100" firmware="uefi"
|
||||
bootpartition="false" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" bls="true" console="serial" timeout="1"/>
|
||||
@@ -23,6 +23,7 @@
|
||||
<vagrantconfig provider="libvirt" virtualsize="5"/>
|
||||
<systemdisk>
|
||||
<volume name="@root=root"/>
|
||||
<volume name="boot" parent="/"/>
|
||||
<volume name="home" parent="/"/>
|
||||
<volume name="var" parent="/"/>
|
||||
</systemdisk>
|
||||
@@ -36,7 +37,7 @@
|
||||
filesystem="btrfs" btrfs_root_is_subvolume="true" btrfs_set_default_volume="false" fsmountoptions="compress=zstd:1"
|
||||
kernelcmdline="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||
devicepersistency="by-uuid"
|
||||
bootpartition="true" bootpartsize="2000" bootfilesystem="ext4" efipartsize="100" firmware="uefi"
|
||||
bootpartition="false" efipartsize="100" firmware="uefi"
|
||||
rootfs_label="fedora"
|
||||
>
|
||||
<bootloader name="grub2" bls="true" console="serial" timeout="1"/>
|
||||
@@ -44,6 +45,7 @@
|
||||
<vagrantconfig provider="virtualbox" virtualbox_guest_additions_present="true" virtualsize="5"/>
|
||||
<systemdisk>
|
||||
<volume name="@root=root"/>
|
||||
<volume name="boot" parent="/"/>
|
||||
<volume name="home" parent="/"/>
|
||||
<volume name="var" parent="/"/>
|
||||
</systemdisk>
|
||||
|
||||
Reference in New Issue
Block a user