diff options
author | dlezcano <dlezcano> | 2008-08-06 14:32:29 +0000 |
---|---|---|
committer | dlezcano <dlezcano> | 2008-08-06 14:32:29 +0000 |
commit | 5e97c3fcce787a5bc0f8ceef43aa3e05195b480a (patch) | |
tree | 0626c084f72d40762c7fac09d474a9f238fe5471 /doc | |
download | lxc-5e97c3fcce787a5bc0f8ceef43aa3e05195b480a.tar.gz lxc-5e97c3fcce787a5bc0f8ceef43aa3e05195b480a.tar.bz2 lxc-5e97c3fcce787a5bc0f8ceef43aa3e05195b480a.zip |
Initial revision
Diffstat (limited to 'doc')
-rw-r--r-- | doc/fstab | 2 | ||||
-rw-r--r-- | doc/lxc.conf | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/doc/fstab b/doc/fstab new file mode 100644 index 0000000..808c6e0 --- /dev/null +++ b/doc/fstab @@ -0,0 +1,2 @@ +proc /proc proc defaults 0 0 +sysfs /sys sysfs noauto 0 0 diff --git a/doc/lxc.conf b/doc/lxc.conf new file mode 100644 index 0000000..58cb960 --- /dev/null +++ b/doc/lxc.conf @@ -0,0 +1,36 @@ +# the fstab mount file +lxc.mount = ./fstab + +# the hostname to be set into the container +lxc.utsname = virtnode + +# The network has several of kind of configuration: +# +# * veth : the network will use the veth virtual device, the specified +# link must be a bridge +# * macvlan : the network will use the macvlan device, the specified link +# should be an existing interface, usually it is eth0 +# * phys : the network will use a physical network device, the specified +# link should be an existing interface +lxc.network.type = macvlan + +# specify the flags to be used for the network, actually only <up> is allowed +# which mean the network should be set up when created. If the network is set +# up, the loopback is automatically set up too. +lxc.network.flags = up + +# specify the physical network device which will communicate with the +# outside world +lxc.network.link = eth0 + +# NIC ethernet mac address +lxc.network.hwaddr = 4a:49:43:49:79:bd + +# specify the ipv4 address of the container. Several lines are allowed and +# will mean several addresses will be assigned to the interface +lxc.network.ipv4 = 1.2.3.5/24 + +# specify the ipv6 address of the container. Several lines are allowed and +# will mean several addresses will be assigned to the interface +lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596 + |