From ed17d4b994f70f7a8a5ab32819cb3150dde13c1e Mon Sep 17 00:00:00 2001 From: oldmikeyang Date: Fri, 19 Jan 2018 16:14:22 +0800 Subject: [PATCH] Add support for CentOS grub.cfg --- tuned/consts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tuned/consts.py b/tuned/consts.py index 0b9fed3..58da3dd 100644 --- a/tuned/consts.py +++ b/tuned/consts.py @@ -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"] +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_DIR = "/etc/grub.d" GRUB2_TUNED_TEMPLATE_NAME = "00_tuned" GRUB2_TUNED_TEMPLATE_PATH = GRUB2_CFG_DIR + "/" + GRUB2_TUNED_TEMPLATE_NAME