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

Cannot use inst.updates=https://... on Fedora IoT images #582

Open
supakeen opened this issue Apr 11, 2024 · 0 comments
Open

Cannot use inst.updates=https://... on Fedora IoT images #582

supakeen opened this issue Apr 11, 2024 · 0 comments

Comments

@supakeen
Copy link
Member

Originally reported by @AdamWill at https://pagure.io/fedora-iot/issue/56

Trying to use inst.updates=https://... on a Fedora IoT installer image - at least osbuild-built ones, I tested with an F40 image - does not work, because the initramfs environment has no /etc/pki/tls/certs/ca-bundle.crt file. curl is expecting to find this (it's the system trusted certificate list) and refuses to run without it, so you get an infinite loop of "curl: (77) error setting certificate file: /etc/pki/tls/certs/ca-bundle.crt" errors.

This is not the case with a Silverblue image I tested (Silverblue images aren't built with osbuild) - /etc/pki/tls/certs/ca-bundle.crt is present in the installer environment, there. I'm really not sure exactly how the initramfs environment is constructed in each case, off the top of my head.

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