From 4e89d491b171d7ca2ed072151f571c07d45b2bd4 Mon Sep 17 00:00:00 2001 From: troymc Date: Fri, 13 May 2016 13:56:31 +0200 Subject: [PATCH] Bugfix: clusterize_confiles.py was using all keypairs in keypairs.py to make keyring --- deploy-cluster-aws/clusterize_confiles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy-cluster-aws/clusterize_confiles.py b/deploy-cluster-aws/clusterize_confiles.py index d1fcb6ee..f266fe75 100644 --- a/deploy-cluster-aws/clusterize_confiles.py +++ b/deploy-cluster-aws/clusterize_confiles.py @@ -67,7 +67,7 @@ if use_keypairs: # Make a list containing all the public keys if use_keypairs: print('Using keypairs from keypairs.py') - pubkeys = [keypair[1] for keypair in keypairs_list] + pubkeys = [keypair[1] for keypair in keypairs_list[:num_files]] else: # read the pubkeys from the config files in conf_dir pubkeys = []