Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

images without a default partition table still require --rootfs even when specified in customizations.disk #746

Open
ondrejbudai opened this issue Dec 5, 2024 · 0 comments

Comments

@ondrejbudai
Copy link
Member

$ cat config.toml
[[customization.disk.partitions]]
type = "lvm"
name = "mainvg"

[[customization.disk.partitions.logical_volumes]]
name = "rootlv"
mountpoint = "/"
label = "root"
fs_type = "ext4"
minsize = "10 GiB"

[[customization.disk.partitions.logical_volumes]]
name = "swaplv"
fs_type = "swap"
minsize = "1 GiB"

$ podman run --rm --privileged --security-opt label=disable -it -v /var/lib/containers/storage:/var/lib/containers/storage --pull=newer -v ./config.toml:/config.toml quay.io/centos-bootc/bootc-image-builder --local --type raw quay.io/fedora/fedora-bootc
error: cannot build manifest: no default root filesystem type specified in container, please use "--rootfs" to set manually
@ondrejbudai ondrejbudai changed the title images without a default partition table still require --rootfs even when specified in customization.disk images without a default partition table still require --rootfs even when specified in customizations.disk Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant