From 7d6c262976eba624b935c96a7495cc392158b8ff Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Tue, 23 May 2023 10:56:57 -0500 Subject: image: T4516: service vyos-grub-update should exit on live boot --- src/system/grub_update.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/system/grub_update.py b/src/system/grub_update.py index ebdc73af0..1ae66464b 100644 --- a/src/system/grub_update.py +++ b/src/system/grub_update.py @@ -151,6 +151,9 @@ def parse_menuntries(grub_path: str) -> list: if __name__ == '__main__': + if image.is_live_boot(): + exit(0) + # Skip everything if update is not required if not cfg_check_update(): exit(0) -- cgit v1.2.3