]> git.proxmox.com Git - mirror_lxc.git/blame - doc/lxc.conf
Teach lxc_unshare about interfaces, mounts, hostname, daemonize
[mirror_lxc.git] / doc / lxc.conf
CommitLineData
5e97c3fc 1# the fstab mount file
2lxc.mount = ./fstab
3
4# the hostname to be set into the container
5lxc.utsname = virtnode
6
7# The network has several of kind of configuration:
8#
9# * veth : the network will use the veth virtual device, the specified
10# link must be a bridge
11# * macvlan : the network will use the macvlan device, the specified link
12# should be an existing interface, usually it is eth0
13# * phys : the network will use a physical network device, the specified
14# link should be an existing interface
15lxc.network.type = macvlan
16
17# specify the flags to be used for the network, actually only <up> is allowed
18# which mean the network should be set up when created. If the network is set
f79d43bb 19# up, the loopback is automatically set up too.
5e97c3fc 20lxc.network.flags = up
21
22# specify the physical network device which will communicate with the
23# outside world
24lxc.network.link = eth0
25
26# NIC ethernet mac address
27lxc.network.hwaddr = 4a:49:43:49:79:bd
28
29# specify the ipv4 address of the container. Several lines are allowed and
30# will mean several addresses will be assigned to the interface
31lxc.network.ipv4 = 1.2.3.5/24
32
33# specify the ipv6 address of the container. Several lines are allowed and
34# will mean several addresses will be assigned to the interface
35lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596
36