[Kimchi-devel] [PATCH] Does not list non-bootable ISOs on template creation
Paulo Ricardo Paz Vital
pvital at gmail.com
Thu May 21 15:24:06 UTC 2015
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
More information about the Kimchi-devel
mailing list