Page MenuHomeVyOS Platform

System image deletion: Allow deletion of multiple images in one command
Open, LowPublicFEATURE REQUEST

Description

show system image reveals I have 20 images left around on disk, and really I only want the latest 2-3.

To delete the oldest 17 images, I currently need to issue 17 different delete system image XXX commands.

Ideally I'd be able to delete multiple images in a single command. I'd propose 2 different methods are both implemented:

  1. Add wildcard support to CLI: delete system image 2025.06*
  2. Allow both comma separated multiple responses, and also hyphen separate ranges to the interactive list shown with the delete system image command. I.e. Allow either response to the below prompt: 4-20 or 4,5,6,7,8,9
$ delete system image
The following images are installed:
        1: 2026.01.22-0023-rolling (running) (default boot)
        2: 2026.01.19-0023-rolling
        3: 2026.01.16-0022-rolling
        4: 2025.12.25-0021-rolling
        5: 2025.12.22-0022-rolling
        6: 2025.11.29-0019-rolling
        7: 2025.11.21-0020-rolling
        8: 2025.11.14-0020-rolling
        9: 2025.11.04-0019-rolling
        10: 2025.10.25-0019-rolling
        11: 2025.09.27-0018-rolling
        12: 2025.09.01-0023-rolling
        13: 2025.08.25-0020-rolling
        14: 2025.08.06-0021-rolling
        15: 2025.08.02-0020-rolling
        16: 2025.07.27-0023-rolling
        17: 2025.07.11-0020-rolling
        18: 2025.06.24-0020-rolling
        19: 2025.06.06-0019-rolling
        20: 2025.05.26-0020-rolling
Select an image to delete: 

Details

Version
-
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

Viacheslav changed the subtype of this task from "Task" to "Feature Request".Mon, Jan 26, 11:59 AM