batman
This commit is contained in:
24
debian.xml
Normal file
24
debian.xml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
<domain type='kvm'>
|
||||||
|
<name>basic-vm</name>
|
||||||
|
<memory unit='KiB'>1048576</memory> <!-- 1 GiB Memory -->
|
||||||
|
<vcpu placement='static'>1</vcpu> <!-- 1 vCPU -->
|
||||||
|
<os>
|
||||||
|
<type arch='x86_64' machine='pc-i440fx-5.2'>hvm</type> <!-- Change machine type based on your requirement -->
|
||||||
|
<boot dev='hd'/>
|
||||||
|
</os>
|
||||||
|
<cpu mode='host-passthrough'> <!-- Enable CPU passthrough -->
|
||||||
|
<topology sockets='1' cores='1' threads='1'/>
|
||||||
|
</cpu>
|
||||||
|
<devices>
|
||||||
|
<disk type='file' device='disk'>
|
||||||
|
<driver name='qemu' type='qcow2'/>
|
||||||
|
<source path='/var/lib/libvirt/images/basic-vm.qcow2'/> <!-- Disk image path -->
|
||||||
|
<target dev='vda' bus='virtio'/>
|
||||||
|
</disk>
|
||||||
|
<interface type='network'>
|
||||||
|
<mac address='52:54:00:xx:xx:xx'/> <!-- Replace with a unique MAC address -->
|
||||||
|
<source network='default'/>
|
||||||
|
<model type='virtio'/>
|
||||||
|
</interface>
|
||||||
|
</devices>
|
||||||
|
</domain>
|
||||||
Reference in New Issue
Block a user