Skip to content

Commit a63e8a5

Browse files
garloffmbuechse
andauthored
Improve uniqueness wording (from @mbuechse)
Co-authored-by: Matthias Büchse <matthias.buechse@alasca.cloud> Signed-off-by: Kurt Garloff <kurt@garloff.de>
1 parent 8cabaa5 commit a63e8a5

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Standards/scs-0102-v1-image-metadata.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,12 @@ recommend an additional field:
9292
likely the case if you fall back to `custom`.
9393

9494
The usage of standardized `os_distro`, `os_version`, `architecture`, and `os_purpose` help cloud users to create
95-
automation that works across clouds without requiring image names to be standardized. Only
96-
one visible public image with `os_purpose` = `generic` and the same settings for `os_distro`,
97-
`os_version` and `architecture` should be active on any given cloud.
95+
automation that works across clouds without requiring image names to be standardized.
96+
97+
_Uniqueness requirement_: whenever there are two images that have `os_hidden=False`, `visibility=public`,
98+
and that coincide in all three fields `os_distro`, `os_version`, and `architecture`, then only one of them may
99+
have `os_purpose=generic`. In other words, users who search visible public images for a generic OS
100+
of a certain distro, version, and architecture will not get more than one result.
98101
The link to the OpenStack specs and the recommended `os_purpose` was added to version 1.1 of
99102
this standard; a new version 2 of the standard that requires `os_purpose` will be created later.
100103

0 commit comments

Comments
 (0)