diff options
author | John Estabrook <jestabro@vyos.io> | 2023-10-31 10:42:18 -0500 |
---|---|---|
committer | John Estabrook <jestabro@vyos.io> | 2023-12-16 20:37:10 -0600 |
commit | 5949df2ffe1a4bb19171f2bc2bfd3a1026101aee (patch) | |
tree | c3e0f1769478aba4f71261e0d034a9819584cbdd /src | |
parent | cb2ab74053666afca74e35b7a4520e2c1de78a9a (diff) | |
download | vyos-1x-5949df2ffe1a4bb19171f2bc2bfd3a1026101aee.tar.gz vyos-1x-5949df2ffe1a4bb19171f2bc2bfd3a1026101aee.zip |
image: T4516: do not prompt for confirmation when setting default
(cherry picked from commit 3d15cfd484e8c2732d9f10e4065f2282f1f5d334)
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) |