After a bit more of investigation, it seems that the install_sysconfig() function call update_grub_file without any condition: https://git.launchpad.net/charm-sysconfig/tree/src/reactive/sysconfig.py#n55
After a bit more of investigation, it seems that the install_sysconfig() function call update_grub_file without any condition: https:/ /git.launchpad. net/charm- sysconfig/ tree/src/ reactive/ sysconfig. py#n55