summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-05-05 21:28:24 +0200
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2017-05-05 21:28:24 +0200
commitd7fdf2fe5dc992bbd155e9a86b1c02d14be5c3ba (patch)
tree3373cd894e4d9b35f144deae7d2c282afef901a7
parentff1b400a69aad4cce484690b22dfc408615217f3 (diff)
fuel-main: Backport ntpd autostart enablement
Upstream-bug: https://bugs.launchpad.net/fuel/+bug/1688631 Change-Id: I7bc2dac4442c1b02b21fef82a9b9c008f4dab9ac Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
-rw-r--r--patches/fuel-main/0001-ntpd-autostart-at-Fuel-master-boot-time.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/patches/fuel-main/0001-ntpd-autostart-at-Fuel-master-boot-time.patch b/patches/fuel-main/0001-ntpd-autostart-at-Fuel-master-boot-time.patch
new file mode 100644
index 00000000..5375c82a
--- /dev/null
+++ b/patches/fuel-main/0001-ntpd-autostart-at-Fuel-master-boot-time.patch
@@ -0,0 +1,32 @@
+::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+: Copyright (c) 2017 Enea AB and others.
+:
+: All rights reserved. This program and the accompanying materials
+: are made available under the terms of the Apache License, Version 2.0
+: which accompanies this distribution, and is available at
+: http://www.apache.org/licenses/LICENSE-2.0
+::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
+From: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+Date: Fri, 5 May 2017 20:40:19 +0200
+Subject: [PATCH] ntpd autostart at Fuel master boot time
+
+Closes-bug: 1688631
+
+Change-Id: I9bc4e4cb9918bedef2408abb304696fc431ed378
+Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
+---
+ iso/bootstrap_admin_node.sh | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/iso/bootstrap_admin_node.sh b/iso/bootstrap_admin_node.sh
+index dbcac5f..f5d1583 100755
+--- a/iso/bootstrap_admin_node.sh
++++ b/iso/bootstrap_admin_node.sh
+@@ -542,6 +542,7 @@ fi
+ # Sync time
+ systemctl stop ntpd
+ systemctl start ntpdate || echo "Failed to synchronize time with 'ntpdate'"
++systemctl enable ntpd
+ systemctl start ntpd
+
+ bash /etc/rc.local