nixos/ec2-data: sshd.service -> sshd-keygen.service (#444040)

authored by Arian van Putten and committed by GitHub 0f3383ef 3c2e6c1d

+3 -3
+3 -3
nixos/modules/virtualisation/ec2-data.nix
··· 23 24 wantedBy = [ 25 "multi-user.target" 26 - "sshd.service" 27 ]; 28 - before = [ "sshd.service" ]; 29 after = [ "fetch-ec2-metadata.service" ]; 30 31 path = [ pkgs.iproute2 ]; ··· 80 systemd.services.print-host-key = { 81 description = "Print SSH Host Key"; 82 wantedBy = [ "multi-user.target" ]; 83 - after = [ "sshd.service" ]; 84 script = '' 85 # Print the host public key on the console so that the user 86 # can obtain it securely by parsing the output of
··· 23 24 wantedBy = [ 25 "multi-user.target" 26 + "sshd-keygen.service" 27 ]; 28 + before = [ "sshd-keygen.service" ]; 29 after = [ "fetch-ec2-metadata.service" ]; 30 31 path = [ pkgs.iproute2 ]; ··· 80 systemd.services.print-host-key = { 81 description = "Print SSH Host Key"; 82 wantedBy = [ "multi-user.target" ]; 83 + after = [ "sshd-keygen.service" ]; 84 script = '' 85 # Print the host public key on the console so that the user 86 # can obtain it securely by parsing the output of