Fix Incorrect timezone in ubuntu horizon images

Ubuntu removed tzdata and locales from docker images by default,
this is causing horizon to not come up failing
setting timezone:
```ValueError: Incorrect timezone setting: UTC```

Change-Id: I5bbc4d949ed481d1f6629dbb2f5edad174a36e63
Closes-Bug: #1686830
This commit is contained in:
Eduardo Gonzalez 2017-04-28 01:03:28 +02:00
parent 51e94df062
commit 1aca75111d

View File

@ -50,11 +50,13 @@ RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
'apache2',
'gettext',
'libapache2-mod-wsgi',
'locales',
'openstack-dashboard',
'python-manila-ui',
'python-murano-dashboard',
'python-sahara-dashboard',
'python-trove-dashboard'
'python-trove-dashboard',
'tzdata'
] %}
{{ macros.install_packages(horizon_packages | customizable("packages")) }}
@ -99,7 +101,9 @@ RUN sed -i -r 's,^(Listen 80),#\1,' /etc/httpd/conf/httpd.conf \
{% set horizon_packages = [
'apache2',
'gettext',
'libapache2-mod-wsgi'
'libapache2-mod-wsgi',
'locales',
'tzdata'
] %}
{{ macros.install_packages(horizon_packages | customizable("packages")) }}