On 4/9/24 10:00, Neal Gompa wrote:
On Tue, Apr 9, 2024 at 9:53 AM Tadej Janež tadej.j@nez.si wrote:
Hey Fedora Cloud WG!
Firstly, thanks for providing Fedora for the popular cloud providers!
Since Fedora 35, the Fedora Cloud images use btrfs by default [1]. For my deployments, I would like to use ext4 or xfs, so my question are:
- Is it possible to change the root file system at deploy time?
- If not, how could one change the cloud images to use a different
root file system?
It is not possible to change at deployment time, you would need to build your own custom images.
We do have Fedora CoreOS, which may or may not fit your use case (i.e. run software in containers, automatic updates, rpm-ostree as the update mechanism), which can re-provision the root filesystem on first boot and does provide images for various clouds:
- https://fedoraproject.org/coreos/download?stream=stable - https://docs.fedoraproject.org/en-US/fedora-coreos/storage/#_reconfiguring_t...
This may or may not be an option for you, but figured I'd mention.
Our images are now defined here: https://pagure.io/fedora-kiwi-descriptions/blob/rawhide/f/teams/cloud/cloud....
If you want to use something else, you'd want to have your own version of the definitions and modify that file to use the filesystem of your choice.
Is there a particular reason you want to use ext4 or xfs for your rootfs? Typically the pattern we see is that people attach a secondary volume or use S3 and put their data on that instead of the rootfs.