1
0
Fork 0

Use symlinks in /etc/ to access GRUB2 config files

We can now be more sure that we won't modify another operating
system's config file.

Related: rhbz#1556990

Signed-off-by: Ondřej Lysoněk <olysonek@redhat.com>
This commit is contained in:
Ondřej Lysoněk 2018-05-18 15:42:35 +02:00
parent 72c94b3614
commit 586b61773a

View file

@ -21,7 +21,7 @@ ERROR_THRESHOLD = 3
# bootloader plugin configuration
BOOT_DIR = "/boot"
GRUB2_CFG_FILES = ["/boot/grub2/grub.cfg", "/boot/efi/EFI/redhat/grub.cfg", "/boot/efi/EFI/fedora/grub.cfg", "/boot/efi/EFI/centos/grub.cfg"]
GRUB2_CFG_FILES = ["/etc/grub2.cfg", "/etc/grub2-efi.cfg"]
GRUB2_CFG_DIR = "/etc/grub.d"
GRUB2_TUNED_TEMPLATE_NAME = "00_tuned"
GRUB2_TUNED_TEMPLATE_PATH = GRUB2_CFG_DIR + "/" + GRUB2_TUNED_TEMPLATE_NAME