Created
October 9, 2012 22:05
-
-
Save krha/3861737 to your computer and use it in GitHub Desktop.
Cloudlet Template XML
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> | |
<name>cloudlet</name> | |
<uuid>c7a5fdbd-cdaf-9455-926a-d65c16db1801</uuid> | |
<memory>1048576</memory> | |
<currentMemory>1048576</currentMemory> | |
<vcpu>4</vcpu> | |
<cpu> | |
<topology sockets='1' cores='4' threads='1'/> | |
</cpu> | |
<os> | |
<type arch='x86_64' machine='pc-1.0'>hvm</type> | |
</os> | |
<devices> | |
<emulator>/usr/bin/qemu-system-x86_64</emulator> | |
<disk type='file' device='disk'> | |
<driver name='qemu' type='raw'/> | |
<source file='/path/to/vm.img' /> | |
<target dev='hda' bus='ide' /> | |
</disk> | |
<graphics type='vnc' port='-1' autoport='yes' keymap='en-us' listen='127.0.0.1'/> | |
<interface type='user'> | |
</interface> | |
</devices> | |
<features> | |
<acpi/> | |
</features> | |
<qemu:commandline> | |
<qemu:arg value='-redir'/> | |
<qemu:arg value='tcp:2222::22' /> | |
</qemu:commandline> | |
</domain> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment