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/openstack-image.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nixos/tests/openstack-image.nix') diff --git a/nixos/tests/openstack-image.nix b/nixos/tests/openstack-image.nix index c7b28126e508..d0225016ab76 100644 --- a/nixos/tests/openstack-image.nix +++ b/nixos/tests/openstack-image.nix @@ -19,6 +19,10 @@ let ]; }).config.system.build.openstackImage; + sshKeys = import ./ssh-keys.nix pkgs; + snakeOilPrivateKey = sshKeys.snakeOilPrivateKey.text; + snakeOilPublicKey = sshKeys.snakeOilPublicKey; + in { metadata = makeEc2Test { name = "openstack-ec2-metadata"; -- cgit 1.4.1