/etc/vmbuilder/libvirt/libvirtxml_fsimage.tmpl is in python-vm-builder 0.12.4+bzr489-0ubuntu2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <domain type='kvm'>
<name>$hostname</name>
<memory>#echo $mem * 1024 #</memory>
<vcpu>$cpus</vcpu>
<os>
<type>hvm</type>
<boot dev='hd'/>
</os>
<features>
<acpi/>
</features>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/bin/kvm</emulator>
<interface type='network'>
<source network='default'/>
</interface>
<input type='mouse' bus='ps2'/>
<graphics type='vnc' port='-1' listen='127.0.0.1'/>
#for $fs in $filesystems
<disk type='file' device='disk'>
#if $fs.format_type != None
<driver name='qemu' type='$fs.format_type' />
#end if
<source file='$fs.filename' />
<target dev='hd$fs.devletters()' />
</disk>
#end for
</devices>
</domain>
|