# Standard Pixelpark Installation of rhel-9.2 templates.
#
-# lang en_US
-# keyboard --xlayouts='de(nodeadkeys)'
-# timezone Europe/Berlin --utc
-# rootpw $2b$10$BOX9s/mftn9mQwhFQ2bo2ucXnvYSQ7sOKk5wna7E0eMj40hFd.rx6 --iscrypted
-# text
-# url --url=https://test-cobbler01.pixelpark.com/cobbler/distro_mirror/RHEL-9.2/BaseOS
-# bootloader --append="rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M"
-# zerombr
-# clearpart --all --initlabel
-# volgroup vgroot --pesize=4096 pv.0
-# part pv.0 --fstype=lvmpv --ondisk=sdb --size=20480
-# part /boot --fstype=ext4 --ondisk=sda --size=512 --asprimary
-# logvol / --vgname=vgroot --name=root --fstype=xfs --size=6144
-# logvol /var --vgname=vgroot --name=var --fstype=xfs --size=1 --grow --maxsize=20480
-# logvol /home --vgname=vgroot --name=home --fstype=xfs --size=1024
-# logvol swap --vgname=vgroot --name=swap --fstype=swap --size=1024
-# logvol /opt --vgname=vgroot --name=opt --fstype=xfs --size=2048
-# network --bootproto=dhcp
-# skipx
-# firstboot --disable
-# selinux --permissive
-# %pre --interpreter=/bin/bash
-# echo "Hier get's los ..."
-# %end
-# %post --interpreter=/bin/bash
-# echo "Und hier endet es."
-# %end
-# %packages
-# @^minimal-environment
-# kexec-tools
-# %end
-
# Firewall configuration
firewall --disabled
echo "/etc/yum.repos.d/"
ls -lA /etc/yum.repos.d
-# for repo_file in /etc/yum.repos.d/*.repo ; do
-# if [[ -f "${repo_file}" ]] ; then
-# echo
-# echo "${repo_file}"
-# echo '---'
-# cat "${repo_file}"
-# echo '---'
-# fi
-# done
+ for repo_file in /etc/yum.repos.d/*.repo ; do
+ if [[ -f "${repo_file}" ]] ; then
+ echo
+ echo "${repo_file}"
+ echo '---'
+ cat "${repo_file}"
+ echo '---'
+ fi
+ done
fi
+++ /dev/null
-## !/bin/bash
-#raw
-
-#-----------------------------------------------------------
-install_pkgs_el7() {
-
- echo -e "\e[0Ksection_start:$( date +%s ):ks_install_pkgs_el7[collapsed=true]\r\e[0KInstalling additional packages ..."
- echo
- echo "${HASH_LINE}"
- echo "Calling install_pkgs_el7() ..."
- echo
- echo
- log "Installing additional packages ..."
- echo
-
- local -a pkgs_add=('colordiff' 'git' 'p7zip' 'screen')
- local -a pkgs_remove=('nfs*' 'rpcbind')
-
- echo "Installing packages: ${pkgs_add[*]}"
- yum install -y "${pkgs_add[@]}"
-
- echo
- echo "Removing packages: ${pkgs_remove[*]}"
- yum remove -y "${pkgs_remove[@]}"
-
- echo
- echo "Creating /etc/gitconfig ..."
- cat <<-EOF >/etc/gitconfig
- [color]
- ui = true
- EOF
-
- echo -e "\e[0Ksection_end:$( date +%s ):ks_install_pkgs_el7\r\e[0K"
-}
-
-install_pkgs_el7
-
-#end raw
-## vim: ts=4 et list