Merge "Install the packages needed by different ironic drivers"
This commit is contained in:
commit
f209dee147
@ -7,6 +7,8 @@ MAINTAINER {{ maintainer }}
|
|||||||
|
|
||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
||||||
|
# TODO(Jeffrey4l): no python-scciclient, python-oneviewclient,
|
||||||
|
# python-seamicroclient, pyremotevbox package
|
||||||
{% set ironic_conductor_packages = [
|
{% set ironic_conductor_packages = [
|
||||||
'util-linux',
|
'util-linux',
|
||||||
'openstack-ironic-conductor',
|
'openstack-ironic-conductor',
|
||||||
@ -14,9 +16,19 @@ MAINTAINER {{ maintainer }}
|
|||||||
'ipmitool',
|
'ipmitool',
|
||||||
'parted',
|
'parted',
|
||||||
'gdisk',
|
'gdisk',
|
||||||
'psmisc'
|
'psmisc',
|
||||||
|
'python-dracclient',
|
||||||
|
'python-proliantutils',
|
||||||
|
'python-ironic-inspector-client',
|
||||||
|
'python-pyghmi',
|
||||||
|
'pysnmp',
|
||||||
|
'python-UcsSdk',
|
||||||
|
'openwsman-python',
|
||||||
|
'python2-ImcSdk'
|
||||||
] %}
|
] %}
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
|
# TODO(jeffrey4l): no python-dracclient, python-oneviewclient, UcsSdk,
|
||||||
|
# pyremotevbox, ImcSdk package
|
||||||
{% set ironic_conductor_packages = [
|
{% set ironic_conductor_packages = [
|
||||||
'bsdmainutils',
|
'bsdmainutils',
|
||||||
'ironic-conductor',
|
'ironic-conductor',
|
||||||
@ -24,7 +36,14 @@ MAINTAINER {{ maintainer }}
|
|||||||
'ipmitool',
|
'ipmitool',
|
||||||
'gdisk',
|
'gdisk',
|
||||||
'psmisc',
|
'psmisc',
|
||||||
'parted'
|
'parted',
|
||||||
|
'python-proliantutils',
|
||||||
|
'python-ironic-inspector-client',
|
||||||
|
'python-pyghmi',
|
||||||
|
'python-pysnmp4',
|
||||||
|
'python-scciclient',
|
||||||
|
'python-seamicroclient',
|
||||||
|
'python-openwsman'
|
||||||
] %}
|
] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif install_type == 'source' %}
|
{% elif install_type == 'source' %}
|
||||||
@ -48,6 +67,7 @@ MAINTAINER {{ maintainer }}
|
|||||||
'parted'
|
'parted'
|
||||||
] %}
|
] %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
RUN /var/lib/kolla/venv/bin/pip --no-cache-dir install --upgrade -c requirements/upper-constraints.txt -r /ironic/driver-requirements.txt
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{{ macros.install_packages(ironic_conductor_packages | customizable("packages")) }}
|
{{ macros.install_packages(ironic_conductor_packages | customizable("packages")) }}
|
||||||
|
Loading…
Reference in New Issue
Block a user