Skip to content

Instantly share code, notes, and snippets.

@larsks
Created October 28, 2011 00:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save larsks/1321297 to your computer and use it in GitHub Desktop.
Save larsks/1321297 to your computer and use it in GitHub Desktop.
<domain type='lxc' id='25097'>
<name>vm1</name>
<uuid>d0c38655-4001-f021-9589-4e5282fa87f6</uuid>
<memory>500000</memory>
<currentMemory>500000</currentMemory>
<vcpu>1</vcpu>
<os>
<type arch='x86_64'>exe</type>
<init>/bin/bash</init>
</os>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/libexec/libvirt_lxc</emulator>
<filesystem type='mount'>
<source dir='/lxc/vm1/log'/>
<target dir='/var/log'/>
</filesystem>
<filesystem type='mount'>
<source dir='/lxc/vm1/httpd'/>
<target dir='/etc/httpd'/>
</filesystem>
<interface type='network'>
<mac address='52:54:00:e0:12:c8'/>
<source network='default'/>
<target dev='veth0'/>
</interface>
<console type='pty' tty='/dev/pts/2'>
<source path='/dev/pts/2'/>
<target port='0'/>
</console>
</devices>
</domain>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment