Closes-Bug: 1425631
Kolla containers obtain time from the host they run on. Therefore, it is important that hosts (virtual hosts in the case of the heat template) maintain proper time. NTP should be used for this purpose. Change-Id: Ieaf272c79884fb8b5e655ba52d8cc72467a9c831
This commit is contained in:
parent
8d12ee76ab
commit
83e8050307
@ -142,7 +142,7 @@ resources:
|
|||||||
chkconfig network on
|
chkconfig network on
|
||||||
|
|
||||||
# enable dnf command
|
# enable dnf command
|
||||||
yum -y install dnf dnf-plugins-core
|
yum -y install ntp dnf dnf-plugins-core
|
||||||
|
|
||||||
# Docker packages
|
# Docker packages
|
||||||
dnf -y copr enable pkilambi/docker
|
dnf -y copr enable pkilambi/docker
|
||||||
@ -152,6 +152,10 @@ resources:
|
|||||||
systemctl enable docker
|
systemctl enable docker
|
||||||
systemctl start docker
|
systemctl start docker
|
||||||
|
|
||||||
|
# Start NTP
|
||||||
|
systemctl enable ntpd
|
||||||
|
systemctl start ntpd
|
||||||
|
|
||||||
# Directory where the fig container reads yaml files
|
# Directory where the fig container reads yaml files
|
||||||
mkdir -p /opt/docker-compose
|
mkdir -p /opt/docker-compose
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user