40 lines
1.0 KiB
JSON
40 lines
1.0 KiB
JSON
|
{
|
||
|
"description": "Creates a new VM using virt-install",
|
||
|
"parameters": {
|
||
|
"iso_path": {
|
||
|
"type": "String",
|
||
|
"description": "Path to the autoinstall ISO",
|
||
|
"default": "/mnt/nfs/kvm-isos/iso-build/ubuntu-22.04-autoinstall.iso"
|
||
|
},
|
||
|
"vm_name": {
|
||
|
"type": "String",
|
||
|
"description": "Name of the VM",
|
||
|
"default": "vm-template-staging"
|
||
|
},
|
||
|
"ram": {
|
||
|
"type": "Integer",
|
||
|
"description": "Amount of RAM in MB",
|
||
|
"default": 2048
|
||
|
},
|
||
|
"vcpus": {
|
||
|
"type": "Integer",
|
||
|
"description": "Number of virtual CPUs",
|
||
|
"default": 4
|
||
|
},
|
||
|
"disk_size": {
|
||
|
"type": "Integer",
|
||
|
"description": "Size of the VM disk in GB",
|
||
|
"default": 100
|
||
|
},
|
||
|
"disk_path": {
|
||
|
"type": "String",
|
||
|
"description": "Base path for disk images",
|
||
|
"default": "/mnt/nfs/kvm-images/vm-template-staging.qcow2"
|
||
|
},
|
||
|
"network": {
|
||
|
"type": "String",
|
||
|
"description": "Network to connect the VM to",
|
||
|
"default": "wan-verizon"
|
||
|
}
|
||
|
}
|
||
|
}
|