glance/etc/metadefs/operating-system.json
Deepti Ramakrishna db400cdb23 Fix incorrect Glance image metadata description
For each image, when user clicks on Edit Image --> Update Metadata, the list
of various available metadata categories and properties is displayed in a
pop-up window. For each category and property, a user-friendly description is
displayed at the bottom of the pop-up.

The description for "Common Operating System Properties" category says - "When
adding an image to Glance, you may specify some common image properties that
may prove useful to consumers of your image." This is too generic and seems
like a copy-paste of the description from glance-common-image-props.json that
the author later failed to update.

Fixing this to show a more meaningful message.

Change-Id: I5477b1702932e07ab1fd499204d3ff1348abba3b
Closes-Bug: #1483063
2015-10-16 11:18:00 -07:00

33 lines
1.3 KiB
JSON

{
"display_name": "Common Operating System Properties",
"namespace": "OS::OperatingSystem",
"description": "Details of the operating system contained within this image as well as common operating system properties that can be set on a VM instance created from this image.",
"protected": true,
"resource_type_associations" : [
{
"name": "OS::Glance::Image"
},
{
"name": "OS::Cinder::Volume",
"properties_target": "image"
}
],
"properties": {
"os_distro": {
"title": "OS Distro",
"description": "The common name of the operating system distribution in lowercase (uses the same data vocabulary as the libosinfo project). Specify only a recognized value for this field. Deprecated values are listed to assist you in searching for the recognized value.",
"type": "string"
},
"os_version": {
"title": "OS Version",
"description": "Operating system version as specified by the distributor. (for example, '11.10')",
"type": "string"
},
"os_admin_user": {
"title": "OS Admin User",
"description": "The name of the user with admin privileges.",
"type": "string"
}
}
}