diff options
author | Martin Schwenke <martin@meltin.net> | 2014-06-24 10:09:27 +1000 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2014-07-02 14:17:17 +1000 |
commit | a9b06655f6537bcbda5ce8d1a88a75a563fe963d (patch) | |
tree | af10bbe5a6a31171395125bf5b4c30d740d4fa6c /config.d | |
parent | 0f3f0e8cc8dea4080cd5970df70312cd832e1df3 (diff) | |
download | autocluster-a9b06655f6537bcbda5ce8d1a88a75a563fe963d.tar.gz autocluster-a9b06655f6537bcbda5ce8d1a88a75a563fe963d.tar.xz autocluster-a9b06655f6537bcbda5ce8d1a88a75a563fe963d.zip |
Rename some kickstart variables to start with "KS_"
Signed-off-by: Martin Schwenke <martin@meltin.net>
Diffstat (limited to 'config.d')
-rw-r--r-- | config.d/00base.defconf | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/config.d/00base.defconf b/config.d/00base.defconf index 7d39f2f..af84672 100644 --- a/config.d/00base.defconf +++ b/config.d/00base.defconf @@ -162,7 +162,7 @@ defconf SYSTEM_DISK_MOUNTS "@uto" \ defconf TIMEZONE "" \ "<tz>" "timezone for each node" -defconf KEYBOARD "us" \ +defconf KS_KEYBOARD "us" \ "<kbd>" "keyboard layout for each node" # how much disk space to use on each node @@ -415,12 +415,12 @@ get_kvm_path () } -rhel_get_packages () +ks_get_packages () { echo "$installdir/templates/RHEL${RHEL_VERSION%%.*}.packages" } -rhel_get_services () +ks_get_services () { echo "$installdir/templates/RHEL${RHEL_VERSION%%.*}.services" } @@ -486,12 +486,12 @@ rhel_post_config_hook () KVM=$(get_kvm_path) || exit $? fi - if [ "$RHEL_PACKAGES" = "@uto" ] ; then - RHEL_PACKAGES=$(rhel_get_packages) || exit $? + if [ "$KS_RHEL_PACKAGES" = "@uto" ] ; then + KS_RHEL_PACKAGES=$(ks_get_packages) || exit $? fi - if [ "$RHEL_SERVICES" = "@uto" ] ; then - RHEL_SERVICES=$(rhel_get_services) || exit $? + if [ "$KS_RHEL_SERVICES" = "@uto" ] ; then + KS_RHEL_SERVICES=$(ks_get_services) || exit $? fi if [ "$INSTALL_KERNEL_OPTIONS" = "@uto" ] ; then @@ -515,9 +515,9 @@ defconf RHEL_ARCH "x86_64" \ defconf RHEL_VERSION "6.2" \ "<version>" "version of Red Hat Enterprise Linux to configure" -defconf RHEL_PACKAGES "@uto" +defconf KS_RHEL_PACKAGES "@uto" -defconf RHEL_SERVICES "@uto" +defconf KS_RHEL_SERVICES "@uto" defconf RHEL_MULTIPATH_MAGIC "@uto" @@ -541,16 +541,16 @@ defconf YUM_TEMPLATE "$_YUM_TEMPLATE" \ # any extra packages to install. List one on each line. To force a package # not to be installed, list it with a leading - -defconf EXTRA_PACKAGES '' \ +defconf KS_EXTRA_PACKAGES '' \ "<list>" "extra packages for kickstart to install" -defconf EXTRA_CHKCONFIGS "" \ +defconf KS_EXTRA_CHKCONFIGS "" \ "<chkconfigs>" "extra chkconfig commands to run in post-install" -defconf STANDARD_POSTINSTALL "$installdir/templates/basic-postinstall.sh" \ +defconf KS_STANDARD_POSTINSTALL "$installdir/templates/basic-postinstall.sh" \ "<file>" "standard kickstart postinstall script - change with care" -defconf POSTINSTALL_TEMPLATE "" \ +defconf KS_POSTINSTALL_TEMPLATE "" \ "<file>" "extra script to be incorporated into kickstart post-install" defconf KS_KERNEL_OPTS "rhgb console=tty1 console=ttyS0,19200 nodmraid nompath" \ |