Initial commit
This commit is contained in:
81
examples/sample-vm-config.json
Normal file
81
examples/sample-vm-config.json
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"name": "ubuntu-desktop",
|
||||
"description": "Ubuntu Desktop VM for development",
|
||||
"cpu": {
|
||||
"cores": 4,
|
||||
"sockets": 1,
|
||||
"threads": 1,
|
||||
"model": "qemu64",
|
||||
"enableKvm": true
|
||||
},
|
||||
"memory": {
|
||||
"size": 8192,
|
||||
"unit": "M"
|
||||
},
|
||||
"storage": {
|
||||
"disks": [
|
||||
{
|
||||
"path": "C:\\Users\\mahes\\Disks\\ubuntu-desktop.qcow2",
|
||||
"size": 50,
|
||||
"format": "qcow2",
|
||||
"interface": "virtio",
|
||||
"cache": "writeback",
|
||||
"isBoot": true
|
||||
},
|
||||
{
|
||||
"path": "C:\\Users\\mahes\\Disks\\ubuntu-data.qcow2",
|
||||
"size": 100,
|
||||
"format": "qcow2",
|
||||
"interface": "virtio",
|
||||
"cache": "writeback",
|
||||
"isBoot": false
|
||||
}
|
||||
],
|
||||
"cdrom": "C:\\Users\\mahes\\Downloads\\ubuntu-24.04.3-desktop-amd64.iso"
|
||||
},
|
||||
"network": {
|
||||
"interfaces": [
|
||||
{
|
||||
"type": "bridge",
|
||||
"model": "virtio-net-pci",
|
||||
"mac": "52:54:00:12:34:56",
|
||||
"bridge": "virbr0"
|
||||
}
|
||||
],
|
||||
"bridge": "virbr0"
|
||||
},
|
||||
"display": {
|
||||
"type": "gtk",
|
||||
"vga": "virtio",
|
||||
"resolution": "1920x1080",
|
||||
"enableSpice": true,
|
||||
"spicePort": 5930
|
||||
},
|
||||
"boot": {
|
||||
"order": ["c", "d", "n"],
|
||||
"kernel": null,
|
||||
"initrd": null,
|
||||
"cmdline": null
|
||||
},
|
||||
"advanced": {
|
||||
"enableAudio": true,
|
||||
"enableUsb": true,
|
||||
"enableBalloon": true,
|
||||
"enableVirtioRng": true,
|
||||
"enableVirtioFs": false,
|
||||
"sharedFolders": [
|
||||
{
|
||||
"hostPath": "C:\\Users\\mahes\\Shared",
|
||||
"guestPath": "/mnt/shared",
|
||||
"readOnly": false
|
||||
}
|
||||
],
|
||||
"extraArgs": [
|
||||
"-enable-kvm",
|
||||
"-cpu",
|
||||
"host"
|
||||
]
|
||||
},
|
||||
"created": "2024-01-01T10:00:00Z",
|
||||
"lastModified": "2024-01-01T10:00:00Z"
|
||||
}
|
Reference in New Issue
Block a user