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:
parent
72c94b3614
commit
586b61773a
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue