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

osconfig: install root ssh keys to /var/roothome #407

Merged
merged 1 commit into from
Mar 21, 2024

Commits on Mar 21, 2024

  1. osconfig: install root ssh keys to /var/roothome

    The current location via tmpfiles.d to install the root ssh keys
    seems to be not working. There is an error that `/root/.ssh` does
    not exist from `systemd-tmpfiles-setup` and indeed the authorized_keys
    file is on in `/root/.ssh`.
    
    It seems like everything else in the firstboot in
    tmpfiles.d is refering to `/var/roothome` instead of `/root` and
    switching to this for the location of the ssh keys solves the
    issue.
    
    Co-authored-by: Colin Walters <walters@verbum.org>
    Signed-off-by: Colin Walters <walters@verbum.org>
    mvo5 and cgwalters committed Mar 21, 2024
    Configuration menu
    Copy the full SHA
    119dbb4 View commit details
    Browse the repository at this point in the history