Add oslo-vmware module in glance_base image

Change-Id: Ice267c9851fd528e1b64dbf3610c5ca7cd9cca10
Partially-implements: blueprint kolla-ansible-support-vsphere
This commit is contained in:
shaofeng_cheng 2017-04-17 15:40:48 +08:00
parent c74fb5058f
commit 806ecd122f
1 changed files with 4 additions and 1 deletions

View File

@ -11,12 +11,14 @@ MAINTAINER {{ maintainer }}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set glance_base_packages = [
'openstack-glance',
'python-oslo-vmware',
'python-rados',
'python-rbd'
] %}
{% elif base_distro in ['debian', 'ubuntu'] %}
{% set glance_base_packages = [
'glance',
'python-oslo-vmware',
'python-rados',
'python-rbd'
] %}
@ -35,7 +37,8 @@ MAINTAINER {{ maintainer }}
ADD glance-base-archive /glance-base-source
{% set glance_base_pip_packages = [
'/glance[cinder]'
'/glance',
'glance_store[cinder,oslo-vmware,swift]'
] %}
RUN ln -s glance-base-source/* glance \