From 3d15cfd484e8c2732d9f10e4065f2282f1f5d334 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Tue, 31 Oct 2023 10:42:18 -0500 Subject: image: T4516: do not prompt for confirmation when setting default --- src/op_mode/image_manager.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/op_mode/image_manager.py') diff --git a/src/op_mode/image_manager.py b/src/op_mode/image_manager.py index 725c40613..55fd5c07d 100755 --- a/src/op_mode/image_manager.py +++ b/src/op_mode/image_manager.py @@ -74,12 +74,6 @@ def set_image(image_name: str) -> None: if not presistence_storage: exit('Persistence storage cannot be found') - if not ask_yes_no( - f'Do you really want to set the image {image_name} ' - 'as default boot image?', - default=False): - exit() - # set default boot image try: grub.set_default(image_name, presistence_storage) -- cgit v1.2.3