aboutsummaryrefslogtreecommitdiff
path: root/devenv
diff options
context:
space:
mode:
authorDaneyon Hansen <danehans@cisco.com>2015-02-25 18:12:02 +0000
committerDaneyon Hansen <danehans@cisco.com>2015-02-25 18:12:02 +0000
commit83e8050307306844f3cd1d22a2e47ee7fc828c12 (patch)
tree2ab19bc0212b2e168e8ccffec00c575b5613dec4 /devenv
parent8d12ee76ab5e7159b5e1d6ecb4e0cbf017924e40 (diff)
downloadkolla-83e8050307306844f3cd1d22a2e47ee7fc828c12.tar.gz
kolla-83e8050307306844f3cd1d22a2e47ee7fc828c12.zip
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
Diffstat (limited to 'devenv')
-rw-r--r--devenv/kollanode.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/devenv/kollanode.yaml b/devenv/kollanode.yaml
index fd365e35c..7d1a7fbcb 100644
--- a/devenv/kollanode.yaml
+++ b/devenv/kollanode.yaml
@@ -142,7 +142,7 @@ resources:
chkconfig network on
# enable dnf command
- yum -y install dnf dnf-plugins-core
+ yum -y install ntp dnf dnf-plugins-core
# Docker packages
dnf -y copr enable pkilambi/docker
@@ -152,6 +152,10 @@ resources:
systemctl enable docker
systemctl start docker
+ # Start NTP
+ systemctl enable ntpd
+ systemctl start ntpd
+
# Directory where the fig container reads yaml files
mkdir -p /opt/docker-compose