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

devshell: Support -S/--root-ssh-smbios #3712

Closed
wants to merge 3 commits into from

Commits on Feb 1, 2024

  1. qemu: Detect raw format too

    Raw format is fine to use on systems that have reflinks for example.
    cgwalters committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    d947e05 View commit details
    Browse the repository at this point in the history
  2. qemu: Support injecting SSH keys via systemd credentials over SMBIOS

    Since it's in systemd it's available as a baseline way to
    inject things like a SSH key.  That said, not all systems
    support SMBIOS.  But for those that do let's support it.
    cgwalters committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    fe39924 View commit details
    Browse the repository at this point in the history
  3. devshell: Support -S/--root-ssh-smbios

    We've built up a *lot* of generically useful qemu code, and
    I am considering factoring it out into a Go package
    suitable for sharing in particular with "podman machine"
    and other use cases.
    
    Related to this, I'm building systems now that don't use Ignition
    by default.
    
    We only need a small bit of code to inject a root ssh key
    via systemd creds over SMBIOS; change things to support that.
    
    Concretely with this I can now
    `cosa run -S --qemu-image ~/build/centos-bootc.raw`
    cgwalters committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    22eaa11 View commit details
    Browse the repository at this point in the history