docs/install: Doc direct bootc raw and systemd creds#205
Merged
cgwalters merged 2 commits intoCentOS:mainfrom Jan 26, 2024
Merged
docs/install: Doc direct bootc raw and systemd creds#205cgwalters merged 2 commits intoCentOS:mainfrom
cgwalters merged 2 commits intoCentOS:mainfrom
Conversation
First, we're still in a situation where bib doesn't work with c9s. Let's link to the existing docs for using `bootc install to-disk` which *does* work (and fixes multiple other bugs at the same time too). Second: Let's document using systemd credentials to inject a root SSH key, because this works across every image we ship where one can inject SMBIOS bits. (But notably this doesn't work in most production IaaS virt systems like KubeVirt, AWS etc. which gets into cloud agents).
mvo5
reviewed
Jan 25, 2024
dcantrell
approved these changes
Jan 26, 2024
sallyom
reviewed
Jan 26, 2024
|
|
||
| ```bash | ||
| -smbios type=11,value=io.systemd.credential.binary:tmpfiles.extra=$(echo "f~ /root/.ssh/authorized_keys 600 root root - $(ssh-add -L | base64 -w 0)" | base64 -w 0) | ||
| ``` |
Collaborator
There was a problem hiding this comment.
cool! I've been meaning to try this since lennart's talk on how smbios should be the universal machine config tool
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Let's link to the existing docs for using
bootc install to-diskwhich fixes some bugs, though we aim to make bib a primary entrypoint for disks.Second: Let's document using systemd credentials to inject a root SSH key, because this works across every image we ship where one can inject SMBIOS bits. (But notably this doesn't work in most production IaaS virt systems like KubeVirt, AWS etc. which gets into cloud agents).