nixos/tests/ec2: reuse ssh keys from ssh-keys.nix

This commit is contained in:
Antoine Eiche
2019-02-11 20:58:45 +01:00
parent 933da6de91
commit ff31014687
3 changed files with 8 additions and 12 deletions
+4
View File
@@ -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";