From d7fdf2fe5dc992bbd155e9a86b1c02d14be5c3ba Mon Sep 17 00:00:00 2001 From: Alexandru Avadanii Date: Fri, 5 May 2017 21:28:24 +0200 Subject: fuel-main: Backport ntpd autostart enablement Upstream-bug: https://bugs.launchpad.net/fuel/+bug/1688631 Change-Id: I7bc2dac4442c1b02b21fef82a9b9c008f4dab9ac Signed-off-by: Alexandru Avadanii --- ...1-ntpd-autostart-at-Fuel-master-boot-time.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 patches/fuel-main/0001-ntpd-autostart-at-Fuel-master-boot-time.patch (limited to 'patches') 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 +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 +--- + 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 -- cgit 1.2.3-korg