glance/etc/metadefs/operating-system.json
Eric Brown 081af59b1b Adds os_admin_user to common OS image prop metadef
This will add os_admin_user to the list of common properties for
operating systems metadata definition.

Commit I215bb82668df074141397909b58fa9189f46b4da is adding
os_admin_user to the list of image metadata it understands.  As
a result, it's beneficial to also have that property defined
in the metadef.

Change-Id: I7cf70acf3c6a4f801b34d52926c444d05b79fd51
Implements: blueprint libvirt-set-admin-password
2015-06-30 05:40:05 +00:00

33 lines
1.2 KiB
JSON

{
"display_name": "Common Operating System Properties",
"namespace": "OS::OperatingSystem",
"description": "When adding an image to Glance, you may specify some common image properties that may prove useful to consumers of your 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"
}
}
}