backport: Stein During the switch to Stein UCA, we did not switch all packages to python 3 for Debian/Ubuntu binary images. This change switches some more of those packages. Change-Id: I0bff21384d88ea678608392de2db1ba418c96665 Co-Authored-By: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
32 lines
795 B
Django/Jinja
32 lines
795 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}nova-base:{{ tag }}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
|
|
{% block nova_consoleauth_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_package_type == 'rpm' %}
|
|
|
|
{% set nova_consoleauth_packages = [
|
|
'openstack-nova-console'
|
|
] %}
|
|
|
|
{% elif base_package_type == 'deb' %}
|
|
|
|
{% set nova_consoleauth_packages = [
|
|
'nova-consoleauth',
|
|
'python3-memcache'
|
|
] %}
|
|
|
|
{% endif %}
|
|
|
|
{{ macros.install_packages(nova_consoleauth_packages | customizable("packages")) }}
|
|
|
|
{% endif %}
|
|
|
|
{% block nova_consoleauth_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
|
|
USER nova
|