create_disk: Support rootfs-size#917
Conversation
For RHCOS with encryption, we encrypt in early boot, and it's beneficial if the root filesystem size is small initially - distinct from the "default disk" size that applies in clouds (and libvirt). This helps RHCOS maintain its default 16G size for libvirt without requiring the installer and other tools to start resizing it.
|
Alternatively...we could use the same space estimation we do for metal across the board by default. |
|
One benefit/downside of this is that we'd start always having |
|
Or maybe we should do the "size estimation" even for qemu. |
|
Just making sure I follow here. On bare metal, we growpart to the size of the actual disk. On clouds, we growpart to the size of the allocated disk. So it's only on qemu/libvirt that the number we put in Anyway, as to the rootfs itself, I like the idea of being consistent everywhere (using size estimation). (It also makes it easier to add more partitions after the rootfs via Ignition for testing.) |
Yeah I'm working on this.
A bit, but you can also just |
|
Don't need this anymore. |
For RHCOS with encryption, we encrypt in early boot, and it's beneficial
if the root filesystem size is small initially - distinct from the
"default disk" size that applies in clouds (and libvirt).
This helps RHCOS maintain its default 16G size for libvirt without
requiring the installer and other tools to start resizing it.