mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-02-22 11:22:26 +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:
parent
4db252b418
commit
1f9bc68c54
@ -256,6 +256,8 @@ components:
|
||||
$ref: '#/components/schemas/MemoryConfig'
|
||||
kernel:
|
||||
$ref: '#/components/schemas/KernelConfig'
|
||||
initramfs:
|
||||
$ref: '#/components/schemas/InitramfsConfig'
|
||||
cmdline:
|
||||
$ref: '#/components/schemas/CmdLineConfig'
|
||||
disks:
|
||||
@ -337,6 +339,14 @@ components:
|
||||
path:
|
||||
type: string
|
||||
|
||||
InitramfsConfig:
|
||||
required:
|
||||
- path
|
||||
type: object
|
||||
properties:
|
||||
path:
|
||||
type: string
|
||||
|
||||
CmdLineConfig:
|
||||
required:
|
||||
- args
|
||||
|
Loading…
x
Reference in New Issue
Block a user