From ff310146870a130477a4fe47e5f53bfe2a77bc74 Mon Sep 17 00:00:00 2001 From: Antoine Eiche Date: Fri, 8 Feb 2019 09:20:40 +0100 Subject: nixos/tests/ec2: reuse ssh keys from ssh-keys.nix --- nixos/tests/ec2.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nixos/tests/ec2.nix') diff --git a/nixos/tests/ec2.nix b/nixos/tests/ec2.nix index db959a63e40f..384fce67c227 100644 --- a/nixos/tests/ec2.nix +++ b/nixos/tests/ec2.nix @@ -41,6 +41,10 @@ let ]; }).config.system.build.amazonImage; + sshKeys = import ./ssh-keys.nix pkgs; + snakeOilPrivateKey = sshKeys.snakeOilPrivateKey.text; + snakeOilPublicKey = sshKeys.snakeOilPublicKey; + in { boot-ec2-nixops = makeEc2Test { name = "nixops-userdata"; -- cgit 1.4.1