summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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