-
-
Notifications
You must be signed in to change notification settings - Fork 18.6k
boot.initrd.network.ssh.hostKeys expects hostkey on target machine #98100
Copy link
Copy link
Open
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Metadata
Metadata
Assignees
Labels
0.kind: bugSomething is brokenSomething is broken2.status: stalehttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.mdhttps://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md6.topic: nixosIssues or PRs affecting NixOS modules, or package usability issues specific to NixOSIssues or PRs affecting NixOS modules, or package usability issues specific to NixOS
Fields
Give feedbackNo fields configured for issues without a type.
Describe the bug
The
boot.initrd.network.ssh.hostKeysoption expects the host key file to be available on the target machine, since the initrd is apparently built there in an activation script. I say target machine, because I'm using morph to deploy servers and the host keys to be baked into the initrd are available locally.This is a regression from the previous behaviour with dropbear.
To Reproduce
Steps to reproduce the behavior:
boot.initrd.network.sshwith specific host keysmorph deploy default.nix bootExpected behavior
I should not have to upload the hostkeys to the target machine in order to build the initrd.
Additional context
Notify maintainers
@emilazy
Metadata
release-20.09 (ee27689)
Maintainer information: