Created
June 7, 2016 17:21
-
-
Save antoneliasson/a2621eb13740d9d5fd05dd8a9e5c7bfa to your computer and use it in GitHub Desktop.
Minimal LXC domain definition
This file contains 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='lxc'> | |
<name>debian</name> | |
<memory unit="GiB">8</memory> | |
<os> | |
<type>exe</type> | |
<init>/sbin/init</init> | |
</os> | |
<vcpu>4</vcpu> | |
<devices> | |
<emulator>/usr/lib/libvirt/libvirt_lxc</emulator> | |
<filesystem type='mount'> | |
<source dir='/var/lib/lxc/debian/rootfs'/> | |
<target dir='/'/> | |
</filesystem> | |
<interface type='bridge'> | |
<source bridge='br0'/> | |
</interface> | |
<console type='pty'/> | |
</devices> | |
</domain> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment