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

Fedora default image config might not match official defaults #731

Open
achilleas-k opened this issue Jun 5, 2024 · 0 comments
Open

Fedora default image config might not match official defaults #731

achilleas-k opened this issue Jun 5, 2024 · 0 comments

Comments

@achilleas-k
Copy link
Member

While switching our CI runners to Fedora 40 images, built by IB itself, we immediately crashed and burned because of character encoding errors: https://gitlab.com/redhat/services/products/image-builder/ci/images/-/jobs/7027433444

Our default Fedora image config sets the locale to en_US.

var defaultDistroImageConfig = &distro.ImageConfig{
Timezone: common.ToPtr("UTC"),
Locale: common.ToPtr("en_US"),
DefaultOSCAPDatastream: common.ToPtr(oscap.DefaultFedoraDatastream()),
}

However, it seems that marketplace Fedora images use en_US.utf-8, which is why we never had this issue before.

We should update our image definitions to match.

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