summaryrefslogtreecommitdiffstats
path: root/utils/rubbos_dev_env_setup/libvirt_template.xml
blob: eddeff000cca18626d736decc47dc29dd220b928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<domain type='kvm'>
  <name>REPLACE_NAME</name>
  <memory unit='MiB'>REPLACE_MEM</memory>
  <currentMemory unit='MiB'>REPLACE_MEM</currentMemory>
  <vcpu placement='static'>REPLACE_CPU</vcpu>
  <os>
    <type arch='x86_64'>hvm</type>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/><apic/><pae/>
  </features>
  <clock offset="utc"/>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='REPLACE_IMAGE'/>
      <target dev='vda' bus='virtio'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu'/>
      <source file='REPLACE_SEED_IMAGE'/>
      <target dev='hdb'/>
      <readonly/>
    </disk>
    <interface type='network'>
      <source network='default'/>
      <mac address='REPLACE_MAC_ADDR'/>
      <model type='virtio'/>
    </interface>
    <input type='tablet' bus='usb'/>
    <graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0'/>
    <console type='pty'/>
    <video>
      <model type='cirrus'/>
    </video>
  </devices>
</domain>