[Kimchi-devel] [PATCH V3] [Kimchi 1/2] Updated code to support 'interfaces' parameter to template API only on s390x/s390 architecture.

Aline Manera alinefm at linux.vnet.ibm.com
Thu Sep 1 17:28:02 UTC 2016


> diff --git a/control/templates.py b/control/templates.py
> index 2dd8601..5974737 100644
> --- a/control/templates.py
> +++ b/control/templates.py
> @@ -68,6 +68,7 @@ class Template(Resource):
>               'cdrom': self.info.get('cdrom', None),
>               'disks': self.info['disks'],
>               'networks': self.info.get('networks', []),
> +            'interfaces': self.info.get('interfaces', []),
>               'folder': self.info.get('folder', []),
>               'graphics': self.info['graphics'],
>               'cpu_info': self.info.get('cpu_info')

interfaces should be returned only for s390x systems.
This is the reason why the tests are failing on x86.





More information about the Kimchi-devel mailing list