]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Cosmetic changes
authorFrank Brehm <frank.brehm@pixelpark.com>
Thu, 17 Aug 2023 07:34:54 +0000 (09:34 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Thu, 17 Aug 2023 07:34:54 +0000 (09:34 +0200)
kickstart/profile.rhel-9.2.develop.ks
snippets/tpl.250.pkgs-el7.sh [deleted file]

index 262d15880cc84813d35207f9694b4b5407e8e99f..847ff426765f26b1876212e7553f00fa5946ad06 100644 (file)
@@ -5,38 +5,6 @@
 # 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
 
@@ -219,15 +187,15 @@ if [[ -d "/etc/yum.repos.d" ]] ; then
     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
 
diff --git a/snippets/tpl.250.pkgs-el7.sh b/snippets/tpl.250.pkgs-el7.sh
deleted file mode 100644 (file)
index dd10052..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-## !/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