Просмотр исходного кода

Added Linux boot info fields to VM schema.

Nashwan Azhari 9 лет назад
Родитель
Сommit
a6754e513a
1 измененных файлов с 21 добавлено и 0 удалено
  1. 21 0
      coriolis/schemas/vm_export_info_schema.json

+ 21 - 0
coriolis/schemas/vm_export_info_schema.json

@@ -31,6 +31,27 @@
       "description": "The generic type of the operating system installed on the VM.",
       "description": "The generic type of the operating system installed on the VM.",
       "enum": ["bsd", "linux", "osx", "solaris", "windows"]
       "enum": ["bsd", "linux", "osx", "solaris", "windows"]
     },
     },
+    "os_info": {
+      "type": "object",
+      "properties": {
+        "linux_info": {
+          "type": "object",
+          "description": "Information specific to a Linux-based OS.",
+          "properties": {
+            "kernel_path": {
+              "type": "string"
+            },
+            "initrd_path": {
+              "type": "string"
+            },
+            "kernel_parameters": {
+              "type": "string"
+            }
+          },
+          "required": ["kernel_path", "initrd_path", "kernel_parameters"]
+        }
+      }
+    },
     "firmware_type": {
     "firmware_type": {
       "type": "string",
       "type": "string",
       "description": "The type of firmware of the VM.",
       "description": "The type of firmware of the VM.",