Skip to content

Conversation

fneddy
Copy link

@fneddy fneddy commented May 8, 2025

if you have an empty $HOME/.ssh/authorized_keys file, metadata-agent will not even create /root/.ssh/authorized_keys 12

if /root/.ssh/authorized_keys is not present, firstboot.sh will fail when trying to copy it and not execute the rest of the script.

Footnotes

  1. https://github.com/illumos/metadata-agent/blob/oxide/src/provider/generic.rs#L92

  2. https://github.com/illumos/metadata-agent/blob/oxide/src/main.rs#L1315

if you have an empty $HOME/.ssh/authorized_keys file, metadata-agent
will not even create /root/.ssh/authorized_keys [^1][^2]

if /root/.ssh/authorized_keys is not present, firstboot.sh will fail
when trying to copy it and not execute the rest of the script.

[^1]: https://github.com/illumos/metadata-agent/blob/oxide/src/provider/generic.rs#L92
[^2]: https://github.com/illumos/metadata-agent/blob/oxide/src/main.rs#L1315
@jclulow jclulow self-requested a review May 8, 2025 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant