[rhel7-branch 1/1] Add ntp configuration file to installation
jkonecny12
installerbot-noreply at redhat.com
Mon Jun 22 12:58:32 UTC 2015
From: Jiri Konecny <jkonecny at redhat.com>
Add package ntp and remove it except ntp.conf file.
This is required for the main patch part in the anaconda.
Related: rhbz#1085013
---
share/runtime-cleanup.tmpl | 2 ++
share/runtime-install.tmpl | 3 +++
2 files changed, 5 insertions(+)
diff --git a/share/runtime-cleanup.tmpl b/share/runtime-cleanup.tmpl
index 0552669..d4cb3bf 100644
--- a/share/runtime-cleanup.tmpl
+++ b/share/runtime-cleanup.tmpl
@@ -45,6 +45,8 @@ removepkg logrotate
remove /etc/logrotate.d
## anaconda needs this to do media check
removefrom isomd5sum --allbut /usr/bin/checkisomd5
+## remove ntp keep only config file
+removefrom ntp --allbut /etc/ntp.conf
## various other things we remove to save space
removepkg avahi-autoipd coreutils-libs dash db4-utils diffutils file
diff --git a/share/runtime-install.tmpl b/share/runtime-install.tmpl
index 62bb4d9..179922b 100644
--- a/share/runtime-install.tmpl
+++ b/share/runtime-install.tmpl
@@ -96,6 +96,9 @@ installpkg tigervnc-server-module
%endif
installpkg net-tools
+## ntp packages
+installpkg ntp
+
## hardware utilities/libraries
installpkg pciutils usbutils ipmitool
installpkg mt-st smartmontools
--
To view this commit on github, visit https://github.com/rhinstaller/lorax/commit/13ea2c5253517b937d30c490deda92332c78665d
More information about the anaconda-patches
mailing list