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
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