This file is indexed.

/etc/glance/metadefs/operating-system.json is in glance-api 2:16.0.0-0ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
    "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"
        }
    }
}