From 90462f6a762da5b2c55bdd0cfd92b46dff3ea34c Mon Sep 17 00:00:00 2001 From: tigro Date: Thu, 2 Jan 2025 21:15:11 +0300 Subject: [PATCH 4/8] Disable geo location --- 80-rhel/efi.tmpl | 4 ++-- 80-rhel/live/efi.tmpl | 4 ++-- 80-rhel/live/x86.tmpl | 2 +- 80-rhel/x86.tmpl | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/80-rhel/efi.tmpl b/80-rhel/efi.tmpl index d36aefa..43d2f11 100644 --- a/80-rhel/efi.tmpl +++ b/80-rhel/efi.tmpl @@ -49,9 +49,9 @@ ${make_efiboot("images/efiboot.img")} replace @INITRDPATH@ /${kdir}/initrd.img ${eficonf} replace @ISOLABEL@ '${isolabel}' ${eficonf} %if disk: - replace @ROOT@ inst.stage2=hd:LABEL=ANACONDA ${eficonf} + replace @ROOT@ 'inst.stage2=hd:LABEL=ANACONDA inst.geoloc=0' ${eficonf} %else: - replace @ROOT@ 'inst.stage2=hd:LABEL=${isolabel|udev}' ${eficonf} + replace @ROOT@ 'inst.stage2=hd:LABEL=${isolabel|udev} inst.geoloc=0' ${eficonf} %endif %if efiarch32 == 'IA32': copy ${eficonf} ${EFIBOOTDIR}/BOOT.conf diff --git a/80-rhel/live/efi.tmpl b/80-rhel/live/efi.tmpl index 50f95e6..08ba750 100644 --- a/80-rhel/live/efi.tmpl +++ b/80-rhel/live/efi.tmpl @@ -49,9 +49,9 @@ ${make_efiboot("images/efiboot.img")} replace @ISOLABEL@ '${isolabel}' ${eficonf} replace @EXTRA@ '${extra_boot_args}' ${eficonf} %if disk: - replace @ROOT@ root=live:LABEL=ANACONDA ${eficonf} + replace @ROOT@ 'root=live:LABEL=ANACONDA inst.geoloc=0' ${eficonf} %else: - replace @ROOT@ 'root=live:CDLABEL=${isolabel|udev}' ${eficonf} + replace @ROOT@ 'root=live:CDLABEL=${isolabel|udev} inst.geoloc=0' ${eficonf} %endif %if efiarch32 == 'IA32': copy ${eficonf} ${EFIBOOTDIR}/BOOT.conf diff --git a/80-rhel/live/x86.tmpl b/80-rhel/live/x86.tmpl index 277391b..82a9ca0 100644 --- a/80-rhel/live/x86.tmpl +++ b/80-rhel/live/x86.tmpl @@ -63,7 +63,7 @@ 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 @ROOT@ 'root=live:CDLABEL=${isolabel|udev} inst.geoloc=0' ${GRUB2DIR}/grub.cfg replace @EXTRA@ '${extra_boot_args}' ${GRUB2DIR}/grub.cfg diff --git a/80-rhel/x86.tmpl b/80-rhel/x86.tmpl index 9dbd419..5f42785 100644 --- a/80-rhel/x86.tmpl +++ b/80-rhel/x86.tmpl @@ -58,7 +58,7 @@ 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 +replace @ROOT@ 'inst.stage2=hd:LABEL=${isolabel|udev} inst.geoloc=0' ${GRUB2DIR}/grub.cfg ## WHeeeeeeee, EFI. -- 2.47.1