diff options
| author | Anthony Young <sleepsonthefloor@gmail.com> | 2011-08-12 08:43:42 -0700 |
|---|---|---|
| committer | Anthony Young <sleepsonthefloor@gmail.com> | 2011-08-12 08:43:42 -0700 |
| commit | 15271a08de44da1813bfb2a2b68a2f28ef887c21 (patch) | |
| tree | b6b3b4f051ce58ef56ca34216ee4ce3831e4f9bc | |
| parent | 1f116df9b65fc317db26492115bc36ce465ba296 (diff) | |
| download | nova-15271a08de44da1813bfb2a2b68a2f28ef887c21.tar.gz nova-15271a08de44da1813bfb2a2b68a2f28ef887c21.tar.xz nova-15271a08de44da1813bfb2a2b68a2f28ef887c21.zip | |
fix typo that causes ami instances to launch with a kernal as ramdisk
| -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', |
