-
Notifications
You must be signed in to change notification settings - Fork 54
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
Use bootc switch --mutate-in-place
for the Anaconda Container Installer
#380
Comments
I looked into this and the main thing seems to be plumbing through all the layers of abstraction from:
all the way to the So I think it'd be a matter of:
|
I guess though now I wonder whether it'd be worth trying to just add the kickstart option, given how prominent this is. |
I did pykickstart/pykickstart#471 just to try to start something here. |
Right now we have a shortcut in images to work with the relatively quickly changing landscape of this and write a kickstart file directly: https://github.com/osbuild/images/blob/main/pkg/manifest/anaconda_installer_iso_tree.go#L383 Though I much prefer having a kickstart option like you just linked because that's easier to move into the stage :) |
Thanks yes, I just discovered that 😄 I'm attempting to hack this up right now. |
Basically anaconda/kickstart lacks support for `--target-image` which we need when installing from a container image embedded in the ISO. Work around it with an injected `%post`. Closes: osbuild#380
Basically anaconda/kickstart lacks support for `--target-image` which we need when installing from a container image embedded in the ISO. Work around it with an injected `%post`. Closes: #380
bootc switch
is growing a new hidden option to change the origin in-place, we can use this in%post
for the container installer to set the offline installer's origin to the right place: containers/bootc#264The text was updated successfully, but these errors were encountered: