From 59393098c4c9bd7a36a173a76df8e9145668bc18 Mon Sep 17 00:00:00 2001
From: Kelvin Koh <kkoh61@bloomberg.net>
Date: Thu, 29 Dec 2016 11:48:04 -0500
Subject: [PATCH] Fix Horizon 404 on Ubuntu

Change-Id: I6d0d9f1a79f319d53f08ea9cb0bedbd670da55c2
Closes-Bug: #1653011
---
 ansible/roles/horizon/templates/horizon.conf.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ansible/roles/horizon/templates/horizon.conf.j2 b/ansible/roles/horizon/templates/horizon.conf.j2
index b69b390103..38b66ebaf8 100644
--- a/ansible/roles/horizon/templates/horizon.conf.j2
+++ b/ansible/roles/horizon/templates/horizon.conf.j2
@@ -1,4 +1,4 @@
-{% set python_path = '/usr/lib/python2.7/site-packages' if kolla_install_type == 'binary' else '/var/lib/kolla/venv/lib/python2.7/site-packages' %}
+{% set python_path = '/usr/share/openstack-dashboard' if kolla_install_type == 'binary' else '/var/lib/kolla/venv/lib/python2.7/site-packages' %}
 Listen {{ api_interface_address }}:80
 
 <VirtualHost *:80>