Drop redundant rpms from nova-base package list
- openstack-base explictly pulls in python[3]-keystoneclient - openstack-base pulls in python[3]-openstackclient which pulls in python[3]-cinderclient This simplifies the python2/3 cases, and reduces how many times these 2 packages are installed Change-Id: If8eb4dc1c5d5de88a8d9b59920b01d09cb585ebb
This commit is contained in:
parent
7d8eafaee8
commit
87eec8b00b
|
@ -15,18 +15,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||||
'openvswitch'
|
'openvswitch'
|
||||||
] %}
|
] %}
|
||||||
|
|
||||||
{% if distro_python_version.startswith('3') %}
|
|
||||||
{% set nova_base_packages = nova_base_packages + [
|
|
||||||
'python3-cinderclient',
|
|
||||||
'python3-keystoneclient'
|
|
||||||
] %}
|
|
||||||
{% else %}
|
|
||||||
{% set nova_base_packages = nova_base_packages + [
|
|
||||||
'python-cinderclient',
|
|
||||||
'python-keystoneclient'
|
|
||||||
] %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% if base_arch == 'x86_64' %}
|
{% if base_arch == 'x86_64' %}
|
||||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] and base_distro_tag.startswith('7') %}
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] and base_distro_tag.startswith('7') %}
|
||||||
{% set nova_base_packages = nova_base_packages + [
|
{% set nova_base_packages = nova_base_packages + [
|
||||||
|
|
Loading…
Reference in New Issue