diff options
| author | Dan Prince <dan.prince@rackspace.com> | 2011-05-28 07:49:31 -0400 |
|---|---|---|
| committer | Dan Prince <dan.prince@rackspace.com> | 2011-05-28 07:49:31 -0400 |
| commit | b0636780291fc6531d89a69e164e82203414a875 (patch) | |
| tree | 50275ef8ac0c2ba63860229993b8fb0f9e277083 | |
| parent | 9ce5728a0d800374a76cacf935daf2c032f1c33d (diff) | |
Another image_id location in hyperv.
| -rw-r--r-- | nova/virt/hyperv.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/hyperv.py b/nova/virt/hyperv.py index 1142e97a4..05b4775c1 100644 --- a/nova/virt/hyperv.py +++ b/nova/virt/hyperv.py @@ -151,7 +151,7 @@ class HyperVConnection(driver.ComputeDriver): base_vhd_filename = os.path.join(FLAGS.instances_path, instance.name) vhdfile = "%s.vhd" % (base_vhd_filename) - images.fetch(instance['image_id'], vhdfile, user, project) + images.fetch(instance['image_ref'], vhdfile, user, project) try: self._create_vm(instance) |
