On Wed, 2013-09-04 at 12:54 +0200, Martin Kolman wrote:
If the chronyd service is disabled in kickstart, it should not be
automatically enabled.
Signed-off-by: Martin Kolman <mkolman(a)redhat.com>
---
pyanaconda/kickstart.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/kickstart.py b/pyanaconda/kickstart.py
index 031a6f1..3993fd3 100644
--- a/pyanaconda/kickstart.py
+++ b/pyanaconda/kickstart.py
@@ -1301,7 +1301,8 @@ class Timezone(commands.timezone.F18_Timezone):
ksdata.packages.packageList.append(NTP_PACKAGE)
self._added_chrony = True
- if not NTP_SERVICE in ksdata.services.enabled:
+ if not NTP_SERVICE in ksdata.services.enabled and \
+ not NTP_SERVICE in ksdata.services.disabled:
ksdata.services.enabled.append(NTP_SERVICE)
self._enabled_chrony = True
ACK.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic