Situation: I have a VM with one big hard disk. I want to install Fedora CoreOS on it and the root partition should occupy 24GB of the disk space. The remaining disk space is left empty or otherwise partitioned for volumes.
I haven’t found out how to achieve this with an ignition file. I tried different approaches, and the closest to what I want, and that works, is this:
variant: fcos version: 1.0.0 storage: disks: - device: /dev/sda partitions: - number: 0 label: test1 size_mib: 24576 start_mib: 0 - number: 0 label: test2 size_mib: 49152 start_mib: 0
which creates, in addition to the 4 system partitions two more with labels test1, test2 and size 24GB, 48GB. But the root partition is set to an arbitrary size of only 2.2GB, and this is too small.
All my other attempts to specify the size of the root partition have failed. Is this possible at all, and how?
Thanks in advance