-
Notifications
You must be signed in to change notification settings - Fork 171
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
osbuild: re-arrange manifests; tweak runvm-osbuild #3734
Conversation
I'm planning to break them up a little and having them in their own directory will be useful for that.
They aren't used in the deploy-via-container path so let's make them not required if the caller happens to not include them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM overall.
Can you add context in a commit message on the last commit?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments at the top of these new files would be helpful since as you said we're not actually planning to use these ourselves.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I meant mentioning the podman use case here, but not worth another respin!
Currently there is nothing in platforms.yaml for hyperv so it can be shared across the two architectures we build it for today. We don't currently use this but will in the future.
Currently there is nothing in platforms.yaml for applehv so it can be shared across the two architectures we build it for today. We don't currently use this but will in the future.
This isn't used today but will help with some automation I am building so that the process won't break in the future when we switch to defining the `qemu` pieces in this file.
Sometimes I iterate on this inside the supermin VM and the script fails on the second and subsequent runs. Let's just make it not make /dev/loop-control if it already exists.
We were using /processed.json because we run this inside a supermin VM which is essentially an entire root filesystem that's throwaway, but there's a new case where we might want to run it outside of a supermin VM for the podman folks so let's not pollute the root dir and use a temporary directory instead.
8ab1287
to
f51455b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I meant mentioning the podman use case here, but not worth another respin!
The pieces needed for this to work landed in coreos/coreos-assembler#3734
The podman folks are going to start building their own disk images based off a derived container image built from our FCOS base container image. Rearranging things slightly in this repo will make it easier for them to re-use our image defnitions for now. See https://github.com/dustymabe/build-podman-machine-os-disks/tree/main
Having the podman team share our manifests like this isn't the long term solution. The long term solution is for the image definitions to live somewhere like osbuild/images and have everyone consume that. This change is part of a strategic short term play to get podman unblocked for Podman V5.