From b4f3a29e3eb9dec47fc6b60fef2264278c7607eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tino=20V=C3=A1zquez?= Date: Wed, 25 May 2011 12:35:21 +0200 Subject: [PATCH] bug #649: CDROM iso images in VMware must end with iso suffix --- src/vmm/LibVirtDriverVMware.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/vmm/LibVirtDriverVMware.cc b/src/vmm/LibVirtDriverVMware.cc index ffe9f14cae..afa0175070 100644 --- a/src/vmm/LibVirtDriverVMware.cc +++ b/src/vmm/LibVirtDriverVMware.cc @@ -214,12 +214,14 @@ int LibVirtDriver::deployment_description_vmware( if ( type == "BLOCK" ) { file << "\t\t" << endl; - file << "\t\t\t" << endl; + file << "\t\t\tget_oid() + << "/images/disk." << i << "'/>" << endl; } else if ( type == "CDROM" ) { file << "\t\t" << endl; - file << "\t\t\t" << endl; + file << "\t\t\tget_oid() + << "/images/disk." << i << ".iso'/>" << endl; } else {