diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2010-06-24 21:04:55 -0700 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2010-06-24 21:04:55 -0700 |
| commit | 70099adaab238d34c68947e00350df84e83d2270 (patch) | |
| tree | 2f0d620913912707962924cc52626901595d8e83 /nova/cloudpipe | |
| parent | 6d8d59180088ec8855e088a217b58b741f34aac4 (diff) | |
Use flag for vpn key suffix instead of hardcoded string
Diffstat (limited to 'nova/cloudpipe')
| -rw-r--r-- | nova/cloudpipe/pipelib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/cloudpipe/pipelib.py b/nova/cloudpipe/pipelib.py index cec3e5dca..5f6ccf82e 100644 --- a/nova/cloudpipe/pipelib.py +++ b/nova/cloudpipe/pipelib.py @@ -76,7 +76,7 @@ class CloudPipe(object): zippy.close() def setup_keypair(self, user_id, project_id): - key_name = '%s-key' % project_id + key_name = '%s%s' % (project_id, FLAGS.vpn_key_suffix) try: private_key, fingerprint = self.manager.generate_key_pair(user_id, key_name) try: |
