Description
The recent flavor check feature prevents using xxx-update flavors for system updates. This breaks the expected behavior where update images should be usable for updating existing installations.
Expected Behavior
Users should be able to use name-update flavor images to update systems installed with the corresponding name flavor.
Current Behavior
Due to strict flavor matching, update images with the name-update flavor cannot be used to update systems installed with the name flavor. This effectively blocks the update process for many users.
Steps to Reproduce
- Install VyOS using a name flavor image (e.g., proxmox).
- Attempt to update using a name-update flavor image (e.g., proxmox-update).
- Observe that the update is rejected due to a flavor mismatch.
Impact
- Customers are unable to perform updates using xxx-update images.
- Forces unnecessary fresh installations, disrupting operations and automation pipelines.
Root Cause
The validation code enforces an exact flavor match: Image Installer Validation Code (Lines 753–759)
Proposed Resolution
Adjust the flavor check logic to treat name and name-update as compatible for update purposes.