commit 84ccebf1649b3e3c59c6c69872560130e12d44c8
Author: Mark Goddard <email address hidden>
Date: Mon Aug 10 09:33:00 2020 +0100
Mount /etc/timezone based on host OS
Backport adapted for Train.
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/746018 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=84ccebf1649 b3e3c59c6c69872 560130e12d44c8
Committed: https:/
Submitter: Zuul
Branch: stable/train
commit 84ccebf1649b3e3 c59c6c698725601 30e12d44c8
Author: Mark Goddard <email address hidden>
Date: Mon Aug 10 09:33:00 2020 +0100
Mount /etc/timezone based on host OS
Backport adapted for Train.
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