diff options
author | Trae Santiago <tsantiago@us.ibm.com> | 2023-12-14 05:42:48 -0600 |
---|---|---|
committer | Trae Santiago <tsantiago@us.ibm.com> | 2023-12-14 05:42:48 -0600 |
commit | 2f8b22685065f25183133431502322decede6371 (patch) | |
tree | cc38e7997974e3c4ffc5437e0fcb8597d1f799e3 | |
parent | a9ff143fc1e9a95ac2f375db0bd06a8a43fa860e (diff) | |
download | vyos-1x-2f8b22685065f25183133431502322decede6371.tar.gz vyos-1x-2f8b22685065f25183133431502322decede6371.zip |
T5827: made show system image alphabetical
-rwxr-xr-x | src/op_mode/image_manager.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/op_mode/image_manager.py b/src/op_mode/image_manager.py index e75485f9f..e1c788940 100755 --- a/src/op_mode/image_manager.py +++ b/src/op_mode/image_manager.py @@ -157,6 +157,8 @@ def rename_image(name_old: str, name_new: str) -> None: def list_images() -> None: """Print list of available images for CLI hints""" images_list: list[str] = grub.version_list() + image_list.sort() + for image_name in images_list: print(image_name) |