]> Frank Brehm's Git Trees - pixelpark/create-vmware-tpl.git/commitdiff
Changing output in templates/el9-standard.ks
authorFrank Brehm <frank.brehm@pixelpark.com>
Tue, 17 Oct 2023 14:34:18 +0000 (16:34 +0200)
committerFrank Brehm <frank.brehm@pixelpark.com>
Tue, 17 Oct 2023 14:34:18 +0000 (16:34 +0200)
templates/el9-standard.ks

index aa7b7e2f71cd5fbf2e9fbaaffffa0f04764615a6..79c820d50155508775462cf8ea8b39f2edc79b33 100644 (file)
@@ -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