diff options
author | John Estabrook <jestabro@vyos.io> | 2023-10-31 10:42:18 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2023-11-16 12:19:15 -0600 |
commit | 3d15cfd484e8c2732d9f10e4065f2282f1f5d334 (patch) | |
tree | 564e1928381890772c45b7a1302b9afbeaf76043 /src | |
parent | cdc5fddfd796ccf7cfe35d2501cb1da380df53b2 (diff) | |
download | vyos-1x-3d15cfd484e8c2732d9f10e4065f2282f1f5d334.tar.gz vyos-1x-3d15cfd484e8c2732d9f10e4065f2282f1f5d334.zip |
image: T4516: do not prompt for confirmation when setting default
Diffstat (limited to 'src')
-rwxr-xr-x | src/op_mode/image_manager.py | 6 |
1 files changed, 0 insertions, 6 deletions
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) |