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

Support diskless directly with bootc #898

Open
cgwalters opened this issue Nov 15, 2024 · 3 comments
Open

Support diskless directly with bootc #898

cgwalters opened this issue Nov 15, 2024 · 3 comments
Labels
area/client Related to the client/CLI

Comments

@cgwalters
Copy link
Collaborator

Chatting with someone here at KubeCon, we realized a nice way to diskless would be to use PXE boot, have bootc in the initramfs, then fetch the image to RAM and pivot into it.

This would replace squashfs with OCI which would be pretty cool.

@cgwalters cgwalters added the area/client Related to the client/CLI label Nov 15, 2024
@kfox1111
Copy link

This would be great. :)

@kfox1111
Copy link

It could potentially be used as a base implementation for kubevirt/kubevirt#13212.

@scottcwang
Copy link

Dracut dmsquash-live and livenet currently support root=live:LABEL=*, root=live:UUID=*, root=live:PARTLABEL=*, root=live:PARTUUID=*, root=live:CDLABEL=*, root=live:nfs*, root=live:http://*, root=live:https://*, root=live:ftp://*, root=live:torrent://*, root=live:tftp://*. Perhaps some of this existing logic could get reused to parse the root dracut argument, find the container image, and pull it into the same RAM disk that dracut already uses for live booting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/client Related to the client/CLI
Projects
None yet
Development

No branches or pull requests

3 participants