Merge "Ensure to use python3 to install horizon"

This commit is contained in:
Zuul 2020-03-12 01:14:26 +00:00 committed by Gerrit Code Review
commit cfbd85e9f4
1 changed files with 2 additions and 2 deletions

View File

@ -315,8 +315,8 @@ function tacker_horizon_install {
setup_dev_lib "tacker-horizon"
sudo cp $DEST/tacker-horizon/tacker_horizon/enabled/* $DEST/horizon/openstack_dashboard/enabled/
# make sure NFV's dashboard static files get loaded when deploying
$DEST/tacker-horizon/manage.py collectstatic --noinput
echo yes | $DEST/tacker-horizon/manage.py compress
$PYTHON $DEST/tacker-horizon/manage.py collectstatic --noinput
echo yes | $PYTHON $DEST/tacker-horizon/manage.py compress
restart_apache_server
}