mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
openapi: Add initramfs support
added InitramfsConfig property to the REST API spec Signed-off-by: Damjan Georgievski <gdamjan@gmail.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
4db252b418
commit
1f9bc68c54
@@ -256,6 +256,8 @@ components:
|
|||||||
$ref: '#/components/schemas/MemoryConfig'
|
$ref: '#/components/schemas/MemoryConfig'
|
||||||
kernel:
|
kernel:
|
||||||
$ref: '#/components/schemas/KernelConfig'
|
$ref: '#/components/schemas/KernelConfig'
|
||||||
|
initramfs:
|
||||||
|
$ref: '#/components/schemas/InitramfsConfig'
|
||||||
cmdline:
|
cmdline:
|
||||||
$ref: '#/components/schemas/CmdLineConfig'
|
$ref: '#/components/schemas/CmdLineConfig'
|
||||||
disks:
|
disks:
|
||||||
@@ -337,6 +339,14 @@ components:
|
|||||||
path:
|
path:
|
||||||
type: string
|
type: string
|
||||||
|
|
||||||
|
InitramfsConfig:
|
||||||
|
required:
|
||||||
|
- path
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
path:
|
||||||
|
type: string
|
||||||
|
|
||||||
CmdLineConfig:
|
CmdLineConfig:
|
||||||
required:
|
required:
|
||||||
- args
|
- args
|
||||||
|
|||||||
Reference in New Issue
Block a user