summaryrefslogtreecommitdiffstats
path: root/config.d
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2014-06-23 14:04:36 +1000
committerMartin Schwenke <martin@meltin.net>2014-07-02 14:17:17 +1000
commit0f3f0e8cc8dea4080cd5970df70312cd832e1df3 (patch)
treed289649ee1d4820867e6560f09989b840d14ec6c /config.d
parentc113a096bd50b7289732b2869424a439675b4ae2 (diff)
downloadautocluster-0f3f0e8cc8dea4080cd5970df70312cd832e1df3.tar.gz
autocluster-0f3f0e8cc8dea4080cd5970df70312cd832e1df3.tar.xz
autocluster-0f3f0e8cc8dea4080cd5970df70312cd832e1df3.zip
Remove add_extra_package() and add_extra_chkconfig()
These were a hack to get around EXTRA_PACKAGES having a default non-empty value. That's no longer true. Just use EXTRA_PACKAGES and EXTRA_CHKCONFIGS directly. Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'config.d')
-rw-r--r--config.d/00base.defconf20
1 files changed, 0 insertions, 20 deletions
diff --git a/config.d/00base.defconf b/config.d/00base.defconf
index 0633adb..7d39f2f 100644
--- a/config.d/00base.defconf
+++ b/config.d/00base.defconf
@@ -568,26 +568,6 @@ defconf CREATE_BASE_TIMEOUT 3600 \
##############################
-# Note that this is only for RHEL packages available in Kickstart.
-# This is not for packages installed from a local repository!
-_EXTRA_RHEL_PACKAGES=""
-add_extra_package ()
-{
-
- _EXTRA_RHEL_PACKAGES="${_EXTRA_RHEL_PACKAGES}
-$*"
-}
-
-add_extra_chkconfig ()
-{
- local package="$1"
- local state="$2"
-
- EXTRA_CHKCONFIGS="${EXTRA_CHKCONFIGS}${EXTRA_CHKCONFIGS:+ }${package}:${state}"
-}
-
-##############################
-
register_hook hack_nodes_functions hack_nodes_rhel_base
hack_nodes_rhel_base ()