[Kimchi-devel] [PATCH] Does not list non-bootable ISOs on template creation

Ramon Medeiros ramonn at linux.vnet.ibm.com
Thu May 21 17:16:02 UTC 2015


Just test the patch in a PowerKVM 3.1.1, with ppc64el isos. All bootable 
ISOs were displayed.

On 05/21/2015 12:24 PM, Paulo Ricardo Paz Vital wrote:
> I remember that Power ISO images was recognised as non-bootable ISOs by Kimchi.
> Have you tried your patch with Power images?
>> Paulo Ricardo Paz Vital
> "I like the impossible, because there is less competition" - Walt Disney
>
>> On 21 May 2015, at 11:29, Ramon Medeiros <ramonn at linux.vnet.ibm.com> wrote:
>>
>> Signed-off-by: Ramon Medeiros <ramonn at linux.vnet.ibm.com>
>> ---
>> src/kimchi/model/storagevolumes.py | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/src/kimchi/model/storagevolumes.py b/src/kimchi/model/storagevolumes.py
>> index dc807e4..2081fd1 100644
>> --- a/src/kimchi/model/storagevolumes.py
>> +++ b/src/kimchi/model/storagevolumes.py
>> @@ -530,7 +530,7 @@ class IsoVolumesModel(object):
>>              for volume in volumes:
>>                  res = self.storagevolume.lookup(pool_name,
>>                                                  volume.decode("utf-8"))
>> -                if res['format'] == 'iso':
>> +                if res['format'] == 'iso' and res["bootable"] == True:
>>                      res['name'] = '%s' % volume
>>                      iso_volumes.append(res)
>>          return iso_volumes
>> -- 
>> 2.1.0
>>
>> _______________________________________________
>> Kimchi-devel mailing list
>> Kimchi-devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/kimchi-devel

-- 

Ramon Nunes Medeiros
Kimchi Developer
Linux Technology Center Brazil
IBM Systems & Technology Group
Phone : +55 19 2132 7878
ramonn at br.ibm.com




More information about the Kimchi-devel mailing list