summaryrefslogtreecommitdiffstats
path: root/nixos/tests/ec2.nix
diff options
context:
space:
mode:
authorAntoine Eiche <lewo@abesis.fr>2019-02-08 09:20:40 +0100
committerAntoine Eiche <lewo@abesis.fr>2019-02-11 20:58:45 +0100
commitff310146870a130477a4fe47e5f53bfe2a77bc74 (patch)
tree6d859b19e3251c1a2196ac4b20e0d4e55ad63e7d /nixos/tests/ec2.nix
parent933da6de9110ca208a82fb31a6730cbe9d971600 (diff)
nixos/tests/ec2: reuse ssh keys from ssh-keys.nix
Diffstat (limited to 'nixos/tests/ec2.nix')
-rw-r--r--nixos/tests/ec2.nix4
1 files changed, 4 insertions, 0 deletions
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";