From: Frank Brehm Date: Tue, 17 Oct 2023 14:56:45 +0000 (+0200) Subject: Changing output in templates/el9-standard.ks X-Git-Tag: 3.1.0~11 X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=fac40b268ea5e739589e4ee6820de4c418c27c98;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 79c820d..57a3eb5 100644 --- a/templates/el9-standard.ks +++ b/templates/el9-standard.ks @@ -197,6 +197,21 @@ grubby --default-index grubby --default-title grubby --default-kernel +echo +echo "LVM:" + +echo +echo "pvs" +pvs --units m + +echo +echo "vgs" +vgs --units m + +echo +echo "lvs" +lvs --units m + ### remove unnecessary directory rm -rf /var/var @@ -249,6 +264,12 @@ echo "RedHat repository path prefix: '${redhat_repo_path_prefix}'" echo "RedHat GPK key: '${redhat_gpg_key}'" {% endif %} +echo +echo "Mangling /etc/lvm/lvm.conf ..." +sed -i -e 's/^\(.*\)# use_devicesfile.*/\1use_devicesfile = 0/' /etc/lvm/lvm.conf +echo +grep devicesfile /etc/lvm/lvm.conf + ############################################################################### # Performing snippets