commit a229bbd22a4e321ee620c9dfa70c1e879c83e718
Author: Mark Goddard <email address hidden>
Date: Mon Aug 10 09:33:00 2020 +0100
Mount /etc/timezone based on host OS
Previously we mounted /etc/timezone if the kolla_base_distro is debian
or ubuntu. This would fail prechecks if debian or ubuntu images were
deployed on CentOS. While this is not a supported combination, for
correctness we should fix the condition to reference the host OS rather
than the container OS, since that is where the /etc/timezone file is
located.
Change-Id: Ifc252ae793e6974356fcdca810b373f362d24ba5
Closes-Bug: #1882553
(cherry picked from commit 146b00efa7081eac9cba4410b5ea7e8b17535246)
Reviewed: https:/ /review. opendev. org/746017 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=a229bbd22a4 e321ee620c9dfa7 0c1e879c83e718
Committed: https:/
Submitter: Zuul
Branch: stable/ussuri
commit a229bbd22a4e321 ee620c9dfa70c1e 879c83e718
Author: Mark Goddard <email address hidden>
Date: Mon Aug 10 09:33:00 2020 +0100
Mount /etc/timezone based on host OS
Previously we mounted /etc/timezone if the kolla_base_distro is debian
or ubuntu. This would fail prechecks if debian or ubuntu images were
deployed on CentOS. While this is not a supported combination, for
correctness we should fix the condition to reference the host OS rather
than the container OS, since that is where the /etc/timezone file is
located.
Change-Id: Ifc252ae793e697 4356fcdca810b37 3f362d24ba5 c9cba4410b5ea7e 8b17535246)
Closes-Bug: #1882553
(cherry picked from commit 146b00efa7081ea