Add qemu-img into glance api image
Change-Id: I564fd3cdd1c7e48657270510a195e397c7812817 Closes-Bug: #1646535
This commit is contained in:
parent
8b57bb070e
commit
f49afa1b66
@ -3,6 +3,16 @@ MAINTAINER {{ maintainer }}
|
||||
|
||||
{% block glance_api_header %}{% endblock %}
|
||||
|
||||
{% import "macros.j2" as macros with context %}
|
||||
|
||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||
{% set glance_api_packages = ['qemu-img'] %}
|
||||
{% elif base_distro in ['ubuntu'] %}
|
||||
{% set glance_api_packages = ['qemu-utils'] %}
|
||||
{% endif %}
|
||||
|
||||
{{ macros.install_packages(glance_api_packages | customizable("packages")) }}
|
||||
|
||||
COPY extend_start.sh /usr/local/bin/kolla_glance_extend_start
|
||||
RUN chmod 755 /usr/local/bin/kolla_glance_extend_start
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user