From: Frank Brehm Date: Tue, 17 Oct 2023 14:34:18 +0000 (+0200) Subject: Changing output in templates/el9-standard.ks X-Git-Tag: 3.1.0~12 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=1f86ef1f13c6adfeb7f648152e9c9af727153f17;p=pixelpark%2Fcreate-vmware-tpl.git Changing output in templates/el9-standard.ks --- diff --git a/templates/el9-standard.ks b/templates/el9-standard.ks index aa7b7e2..79c820d 100644 --- a/templates/el9-standard.ks +++ b/templates/el9-standard.ks @@ -78,6 +78,11 @@ logvol /var/log --vgname=vgroot --name=log --fstype=xfs --size=3072 # Pre tasks %pre --interpreter=/bin/bash --log=/var/log/ks-pre.log #raw + +echo +echo "###########################################################" +echo "Pre-all tasks ..." +echo echo "[$( date --rfc-3339=seconds )]: Let's launch the missle ..." echo if grep '^nameserver' /etc/resolv.conf >/dev/null ; then @@ -94,9 +99,18 @@ echo echo "Used /etc/resolv.conf:" cat /etc/resolv.conf +echo +echo "Linux uname:" uname -a + +echo +echo "Linux kernel versions:" rpm -qa | grep -i kernel | sort -i -mkfs.xfs -V + +echo +echo "Devices:" +echo +ls -lA /dev/disk/*/ #end raw %end @@ -128,6 +142,11 @@ exec < /dev/console &> >(tee -a "$POST_LOG") ### debug # set -x +echo +echo "###########################################################" +echo "Post install tasks ..." +echo + echo "cobbler profile = $profile_name" echo @@ -168,9 +187,12 @@ if [[ -d "/etc/yum.repos.d" ]] ; then fi +echo +echo "Linux kernel versions:" rpm -qa | grep -i kernel | sort -i -mkfs.xfs -V -grubby --info=ALL + +echo +echo "Default kernel in GRUB:" grubby --default-index grubby --default-title grubby --default-kernel