nixos/tests/ec2: reuse ssh keys from ssh-keys.nix
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user