Skip to content

Instantly share code, notes, and snippets.

@mendeni
Created May 28, 2014 18:11
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 mendeni/b55b067d3af7e53faca4 to your computer and use it in GitHub Desktop.
Save mendeni/b55b067d3af7e53faca4 to your computer and use it in GitHub Desktop.
haproxy
<domain type='lxc'>
<name>haproxy</name>
<uuid>e24c721b-a00c-4ccf-9e65-87be531ebd4c</uuid>
<memory unit='KiB'>65536</memory>
<currentMemory unit='KiB'>65536</currentMemory>
<vcpu placement='static'>1</vcpu>
<resource>
<partition>/machine</partition>
</resource>
<os>
<type arch='x86_64'>exe</type>
<init>/sbin/init</init>
</os>
<idmap>
<uid start='0' target='65534' count='10'/>
<gid start='0' target='65534' count='10'/>
</idmap>
<features>
<privnet/>
</features>
<clock offset='utc'/>
<on_poweroff>destroy</on_poweroff>
<on_reboot>restart</on_reboot>
<on_crash>destroy</on_crash>
<devices>
<emulator>/usr/lib/libvirt_lxc</emulator>
<filesystem type='mount' accessmode='passthrough'>
<source dir='/var/lib/lxc/haproxy/rootfs'/>
<target dir='/'/>
</filesystem>
<filesystem type='mount' accessmode='passthrough'>
<source dir='/sys/fs/fuse/connections'/>
<target dir='/sys/fs/fuse/connections'/>
</filesystem>
<interface type='network'>
<mac address='52:54:00:65:51:ed'/>
<source network='br1'/>
</interface>
<console type='pty'>
<target type='lxc' port='0'/>
</console>
</devices>
</domain>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment