added domain-base.xml as static file
This commit is contained in:
parent
6b10a66c70
commit
f9f70b02b9
47
content/static/domain-base.xml
Normal file
47
content/static/domain-base.xml
Normal file
@ -0,0 +1,47 @@
|
||||
<domain type='kvm' id='1'>
|
||||
<name>base</name>
|
||||
<genid/>
|
||||
<title>base-vm-template</title>
|
||||
<description>write a description of the machine use here</description>
|
||||
<metadata>
|
||||
</metadata>
|
||||
<os>
|
||||
<type arch='x86_64'>hvm</type>
|
||||
<boot dev='cdrom'/>
|
||||
</os>
|
||||
<memory unit='GiB'>1</memory>
|
||||
<vcpu placement='auto'>8</vcpu>
|
||||
<on_poweroff>destroy</on_poweroff>
|
||||
<on_reboot>restart</on_reboot>
|
||||
<on_crash>restart</on_crash>
|
||||
<on_lockfailure>poweroff</on_lockfailure>
|
||||
<features>
|
||||
</features>
|
||||
<devices>
|
||||
<emulator>/usr/bin/qemu-system-x86_64</emulator>
|
||||
<disk type='volume' device='cdrom'>
|
||||
<source pool='iso' volume='devuan_ascii_2.0.0_amd64_minimal-live.iso'/>
|
||||
<target dev='hda' bus='sata'/>
|
||||
<readonly/>
|
||||
</disk>
|
||||
<disk type='volume' device='disk' snapshot='internal'>
|
||||
<source pool='vg0' volume='devuan-base'/>
|
||||
<target dev='vda' bus='virtio'/>
|
||||
<backingStore/>
|
||||
</disk>
|
||||
<interface type='bridge'>
|
||||
<source bridge='virbr0'/>
|
||||
<model type='virtio'/>
|
||||
<link state='up'/>
|
||||
</interface>
|
||||
<input type='keyboard' bus='ps2'>
|
||||
<alias name='input2'/>
|
||||
</input>
|
||||
<graphics type='vnc' port='5900' autoport='yes' listen='127.0.0.1'>
|
||||
<listen type='address' address='127.0.0.1'/>
|
||||
</graphics>
|
||||
<memballoon model='virtio'>
|
||||
<alias name='balloon0'/>
|
||||
</memballoon>
|
||||
</devices>
|
||||
</domain>
|
||||
Loading…
Reference in New Issue
Block a user