Page MenuHomeVyOS Platform

Fix regression in 'set system image default-boot'
Closed, ResolvedPublicBUG

Description

The task https://vyos.dev/T5917 restored the annotations, familiar from legacy behavior, in the select image list. This caused a regression in the selection itself when one tried to select an annotated image: quoting the report:

user@host:~$ show system image 
Name        Default boot    Running
----------  --------------  ---------
1.4         Yes
1.4.0-epa2                  Yes
user@host:~$ set system image default-boot 1.4.0-epa2 
The image "1.4.0-epa2" cannot be found

The fix in task T5917 ignored the simpler approach provided by the select_entry utility in accepting a formatting function; prefer that method.

Details

Difficulty level
Easy (less than an hour)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)