Преглед изворни кода

Merged in aznashwan/coriolis/schemas-osinfo (pull request #18)

Added Linux boot info fields to VM schema.
Nashwan Azhari пре 9 година
родитељ
комит
9ac8d33db2
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.",
       "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": {
       "type": "string",
       "description": "The type of firmware of the VM.",