diff options
| author | Yuriy Taraday <yorik.sar@gmail.com> | 2011-06-17 18:26:31 +0400 |
|---|---|---|
| committer | Yuriy Taraday <yorik.sar@gmail.com> | 2011-06-17 18:26:31 +0400 |
| commit | 8bd0296224b70e318e208a4570b4acaa599f62c8 (patch) | |
| tree | a21191b8ab9a97aa268fcf0c078b6fc194a17e51 /nova/api | |
| parent | 556f467bf0065331cdbb5c5e20fe33dca1239a64 (diff) | |
| download | nova-8bd0296224b70e318e208a4570b4acaa599f62c8.tar.gz nova-8bd0296224b70e318e208a4570b4acaa599f62c8.tar.xz nova-8bd0296224b70e318e208a4570b4acaa599f62c8.zip | |
Made hostname independent from ec2 id. Add generation of hostnames based on display name.
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/ec2/cloud.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/nova/api/ec2/cloud.py b/nova/api/ec2/cloud.py index e1c65ae40..95d14ce9f 100644 --- a/nova/api/ec2/cloud.py +++ b/nova/api/ec2/cloud.py @@ -86,8 +86,7 @@ class CloudController(object): self.volume_api = volume.API() self.compute_api = compute.API( network_api=self.network_api, - volume_api=self.volume_api, - hostname_factory=ec2utils.id_to_ec2_id) + volume_api=self.volume_api) self.setup() def __str__(self): |
