From c6e52ce5329ced758579ab581e28b14ee1f6078d Mon Sep 17 00:00:00 2001 From: "Brian C. Lane" Date: Fri, 3 Jun 2022 10:48:55 -0700 Subject: [PATCH] templates: Set @ISOLABEL@ in the bios-grub.cfg file to the isolabel --- 80-rhel/live/x86.tmpl | 1 + 80-rhel/x86.tmpl | 1 + 2 files changed, 2 insertions(+) diff --git a/80-rhel/live/x86.tmpl b/80-rhel/live/x86.tmpl index 84cd1e6..fc82fb0 100644 --- a/80-rhel/live/x86.tmpl +++ b/80-rhel/live/x86.tmpl @@ -52,6 +52,7 @@ replace @VERSION@ ${product.version} ${GRUB2DIR}/grub.cfg replace @PRODUCT@ '${product.name}' ${GRUB2DIR}/grub.cfg replace @KERNELPATH@ /${KERNELDIR}/vmlinuz ${GRUB2DIR}/grub.cfg replace @INITRDPATH@ /${KERNELDIR}/initrd.img ${GRUB2DIR}/grub.cfg +replace @ISOLABEL@ '${isolabel}' ${GRUB2DIR}/grub.cfg replace @ROOT@ 'root=live:CDLABEL=${isolabel|udev}' ${GRUB2DIR}/grub.cfg replace @EXTRA@ '${extra_boot_args}' ${GRUB2DIR}/grub.cfg diff --git a/80-rhel/x86.tmpl b/80-rhel/x86.tmpl index 2111dc8..064e2a1 100644 --- a/80-rhel/x86.tmpl +++ b/80-rhel/x86.tmpl @@ -64,6 +64,7 @@ replace @VERSION@ ${product.version} ${GRUB2DIR}/grub.cfg replace @PRODUCT@ '${product.name}' ${GRUB2DIR}/grub.cfg replace @KERNELPATH@ /${KERNELDIR}/vmlinuz ${GRUB2DIR}/grub.cfg replace @INITRDPATH@ /${KERNELDIR}/initrd.img ${GRUB2DIR}/grub.cfg +replace @ISOLABEL@ '${isolabel}' ${GRUB2DIR}/grub.cfg replace @ROOT@ 'inst.stage2=hd:LABEL=${isolabel|udev}' ${GRUB2DIR}/grub.cfg