diff --git a/cloudlinux7to8/upgrader.py b/cloudlinux7to8/upgrader.py index 4393395..fe78c31 100644 --- a/cloudlinux7to8/upgrader.py +++ b/cloudlinux7to8/upgrader.py @@ -83,8 +83,12 @@ def prepare_feedback( "/var/log/leapp/leapp-report.txt", "/var/log/leapp/leapp-preupgrade.log", "/var/log/leapp/leapp-upgrade.log", + "/etc/grub2.cfg", ] + for grub_directory in ("/etc/grub.d", "/boot/grub", "/boot/grub2"): + feed.attached_files += files.find_files_case_insensitive(grub_directory, ["*"]) + for repofile in files.find_files_case_insensitive("/etc/yum.repos.d", ["*.repo*"]): feed.attached_files.append(repofile)