summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrae Santiago <tsantiago@us.ibm.com>2023-12-14 05:46:55 -0600
committerTrae Santiago <tsantiago@us.ibm.com>2023-12-14 05:46:55 -0600
commitd2b29be237b790bb1a258647adf30c8b96c0b526 (patch)
tree3087564422b4c0253cb0629e771f79614d955439
parent2f8b22685065f25183133431502322decede6371 (diff)
downloadvyos-1x-d2b29be237b790bb1a258647adf30c8b96c0b526.tar.gz
vyos-1x-d2b29be237b790bb1a258647adf30c8b96c0b526.zip
T5827: made show system image alphabetical
-rwxr-xr-xsrc/op_mode/image_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/image_manager.py b/src/op_mode/image_manager.py
index e1c788940..76e414239 100755
--- a/src/op_mode/image_manager.py
+++ b/src/op_mode/image_manager.py
@@ -157,7 +157,7 @@ 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()
+ images_list.sort()
for image_name in images_list:
print(image_name)