summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTrae Santiago <tsantiago@us.ibm.com>2023-12-14 05:46:55 -0600
committerJohn Estabrook <jestabro@vyos.io>2023-12-16 20:37:11 -0600
commitde9ec7bd5d33e2f3a6faa5029eed7c4f811e87d1 (patch)
tree7285f22940c648a20c34765379edf723f0e59abe /src
parent6bfc9af902f5543a6123d0cba7b1306769b08b04 (diff)
downloadvyos-1x-de9ec7bd5d33e2f3a6faa5029eed7c4f811e87d1.tar.gz
vyos-1x-de9ec7bd5d33e2f3a6faa5029eed7c4f811e87d1.zip
T5827: made show system image alphabetical
(cherry picked from commit d2b29be237b790bb1a258647adf30c8b96c0b526)
Diffstat (limited to 'src')
-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)