diff options
| author | Anthony Young <sleepsonthefloor@gmail.com> | 2011-08-12 16:49:08 +0000 |
|---|---|---|
| committer | Tarmac <> | 2011-08-12 16:49:08 +0000 |
| commit | bf334c786091ace63dd943e5e5893a239a22d21e (patch) | |
| tree | 570d6d10e03355d7876276dadff81951f9af08f1 | |
| parent | 7610b839a05bbde730b28d73586ba8ba096d0044 (diff) | |
| parent | 15271a08de44da1813bfb2a2b68a2f28ef887c21 (diff) | |
Fix a typo that causes ami images to launch with a kernel as ramdisk when using xen.
| -rw-r--r-- | nova/virt/xenapi/vmops.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/virt/xenapi/vmops.py b/nova/virt/xenapi/vmops.py index b9cd59946..b1522729a 100644 --- a/nova/virt/xenapi/vmops.py +++ b/nova/virt/xenapi/vmops.py @@ -186,7 +186,7 @@ class VMOps(object): instance.project_id, ImageType.KERNEL)[0] if instance.ramdisk_id: ramdisk = VMHelper.fetch_image(context, self._session, - instance.id, instance.kernel_id, instance.user_id, + instance.id, instance.ramdisk_id, instance.user_id, instance.project_id, ImageType.RAMDISK)[0] # Create the VM ref and attach the first disk first_vdi_ref = self._session.call_xenapi('VDI.get_by_uuid', |
