update horizon configuration for python3 migrating

Depends-On: https://review.opendev.org/675581
Closes-Bug: #1838719
Partially Implements: blueprint python3-support

Change-Id: Ib8bfb130b8490b583539cc264c2d2a2a034b270c
This commit is contained in:
chenxing 2019-08-02 17:33:04 +08:00 committed by Mark Goddard
parent b16bb0d787
commit 673bbd5678
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
{% set python_path = '/usr/share/openstack-dashboard' if horizon_install_type == 'binary' else '/var/lib/kolla/venv/lib/python2.7/site-packages' %}
{% set python_path = '/usr/share/openstack-dashboard' if horizon_install_type == 'binary' else '/var/lib/kolla/venv/lib/python' + distro_python_version + '/site-packages' %}
Listen {{ api_interface_address }}:{{ horizon_listen_port }}
ServerSignature Off