diff options
Diffstat (limited to 'tests/cloud_tests/platforms')
-rw-r--r-- | tests/cloud_tests/platforms/platforms.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cloud_tests/platforms/platforms.py b/tests/cloud_tests/platforms/platforms.py index d4e5c561..1542b3be 100644 --- a/tests/cloud_tests/platforms/platforms.py +++ b/tests/cloud_tests/platforms/platforms.py @@ -33,7 +33,7 @@ class Platform(object): def _generate_ssh_keys(self, data_dir): """Generate SSH keys to be used with image.""" - filename = os.path.join(data_dir, 'id_rsa') + filename = os.path.join(data_dir, self.config['private_key']) if os.path.exists(filename): c_util.del_file(filename) |