Alessandro Pilotti 8 лет назад
Родитель
Сommit
4d4d3873b8
2 измененных файлов с 2 добавлено и 1 удалено
  1. 1 0
      coriolis/constants.py
  2. 1 1
      coriolis/schemas/vm_instance_info_schema.json

+ 1 - 0
coriolis/constants.py

@@ -74,6 +74,7 @@ OS_TYPE_LINUX = "linux"
 OS_TYPE_OS_X = "osx"
 OS_TYPE_SOLARIS = "solaris"
 OS_TYPE_WINDOWS = "windows"
+OS_TYPE_OTHER = "other"
 
 DEFAULT_OS_TYPE = OS_TYPE_LINUX
 

+ 1 - 1
coriolis/schemas/vm_instance_info_schema.json

@@ -25,7 +25,7 @@
     "os_type": {
       "type": "string",
       "description": "The generic type of the operating system installed on the VM.",
-      "enum": ["bsd", "linux", "osx", "solaris", "windows"]
+      "enum": ["bsd", "linux", "osx", "solaris", "windows", "other"]
     },
     "firmware_type": {
       "type": "string",