Using qemu-kvm on rhel
qemu-kvm-ev was used with centos, in case of rhel when you have access to the virtualisation related channels qemu-kvm pulls qemu-kvm-rhev which is the recommended one. qemu-kvm-ev was referenced by devstack long time ago, but the explicit package install on rhel family today is qemu-kvm and not qemu-kvm-ev. I am unsure about the other distros, so just changing rhel. Change-Id: If6d1e0367730fa80284395be33674a7cd1465389
This commit is contained in:
parent
695d4d603d
commit
a917eb7166
@ -34,8 +34,16 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
'ceph-common',
|
||||
'lvm2',
|
||||
'cryptsetup',
|
||||
] %}
|
||||
{% if base_distro in ['centos', 'oraclelinux'] %}
|
||||
{% set cinder_base_packages = cinder_base_packages + [
|
||||
'qemu-img-ev'
|
||||
] %}
|
||||
{% else %}
|
||||
{% set cinder_base_packages = cinder_base_packages + [
|
||||
'qemu-img'
|
||||
] %}
|
||||
{% endif %}
|
||||
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||
{% set cinder_base_packages = [
|
||||
'ceph-common',
|
||||
|
@ -5,8 +5,10 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
|
||||
{% import "macros.j2" as macros with context %}
|
||||
|
||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||
{% if base_distro in ['centos', 'oraclelinux'] %}
|
||||
{% set glance_api_packages = ['qemu-img-ev'] %}
|
||||
{% elif base_distro == 'rhel' %}
|
||||
{% set glance_api_packages = ['qemu-img'] %}
|
||||
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||
{% set glance_api_packages = ['qemu-utils'] %}
|
||||
{% endif %}
|
||||
|
@ -25,12 +25,20 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
'python-scciclient',
|
||||
'python-sushy',
|
||||
'python-UcsSdk',
|
||||
'qemu-img-ev',
|
||||
'shellinabox',
|
||||
'systemd-python',
|
||||
'util-linux',
|
||||
'xfsprogs',
|
||||
] %}
|
||||
{% if base_distro in ['centos', 'oraclelinux'] %}
|
||||
{% set ironic_conductor_packages = ironic_conductor_packages + [
|
||||
'qemu-img-ev'
|
||||
] %}
|
||||
{% else %}
|
||||
{% set ironic_conductor_packages = ironic_conductor_packages + [
|
||||
'qemu-img'
|
||||
] %}
|
||||
{% endif %}
|
||||
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||
# TODO(jeffrey4l): no python-dracclient, python-oneviewclient, UcsSdk,
|
||||
# ImcSdk package, python-sushy
|
||||
|
@ -19,8 +19,16 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
'libvirt-daemon-driver-lxc',
|
||||
'libvirt-daemon-driver-nwfilter',
|
||||
'openvswitch',
|
||||
] %}
|
||||
{% if base_distro in ['centos', 'oraclelinux'] %}
|
||||
{% set nova_libvirt_packages = nova_libvirt_packages + [
|
||||
'qemu-kvm-ev'
|
||||
] %}
|
||||
{% else %}
|
||||
{% set nova_libvirt_packages = nova_libvirt_packages + [
|
||||
'qemu-kvm'
|
||||
] %}
|
||||
{% endif %}
|
||||
|
||||
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user