Copy vitrage app.wsgi when deploy install_type binary
Target WSGI script not found or unable to stat: /var/www/cgi-bin/vitrage when deploy install_type binary Change-Id: Ia7de5db13eea21d976e919945769ac7d48bb04f7
This commit is contained in:
parent
e457d0704f
commit
8aac00972d
@ -15,7 +15,10 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
|
||||
'openstack-vitrage-common'
|
||||
] %}
|
||||
|
||||
{{ macros.install_packages(vitrage_base_packages | customizable("packages")) }}
|
||||
{{ macros.install_packages(vitrage_base_packages | customizable("packages")) }} \
|
||||
&& mkdir -p /var/www/cgi-bin/vitrage \
|
||||
&& cp -a /usr/lib/python2.7/site-packages/vitrage/api/app.wsgi /var/www/cgi-bin/vitrage/ \
|
||||
&& chown -R vitrage: /var/www/cgi-bin/vitrage
|
||||
|
||||
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user