Unverified Commit 0f3383ef authored by Arian van Putten's avatar Arian van Putten Committed by GitHub
Browse files

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

parents 3c2e6c1d d9ac3ba3
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -23,9 +23,9 @@ with lib;

      wantedBy = [
        "multi-user.target"
        "sshd.service"
        "sshd-keygen.service"
      ];
      before = [ "sshd.service" ];
      before = [ "sshd-keygen.service" ];
      after = [ "fetch-ec2-metadata.service" ];

      path = [ pkgs.iproute2 ];
@@ -80,7 +80,7 @@ with lib;
    systemd.services.print-host-key = {
      description = "Print SSH Host Key";
      wantedBy = [ "multi-user.target" ];
      after = [ "sshd.service" ];
      after = [ "sshd-keygen.service" ];
      script = ''
        # Print the host public key on the console so that the user
        # can obtain it securely by parsing the output of