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

cmd-osbuild: fix parsing of container-imgref from image.json #4032

Merged
merged 1 commit into from
Mar 3, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/cmd-osbuild
Original file line number Diff line number Diff line change
@@ -193,7 +193,7 @@ generate_runvm_osbuild_config() {
# If no container_imgref was set let's just set it to some professional
# looking default. The name of the ociarchive file should suffice.
container_imgref_default="ostree-image-signed:oci-archive:/$(basename "${ostree_container}")"
container_imgref=$(getconfig_def "container_imgref" "${container_imgref_default}" "${image_json}")
container_imgref=$(getconfig_def "container-imgref" "${container_imgref_default}" "${image_json}")

echo "Estimating disk size..." >&2
# The additional 35% here is obviously a hack, but we can't easily completely fill the filesystem,
Loading