]>
Commit | Line | Data |
---|---|---|
5e97c3fc | 1 | # the fstab mount file |
2 | lxc.mount = ./fstab | |
3 | ||
4 | # the hostname to be set into the container | |
5 | lxc.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 | |
15 | lxc.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 | |
19 | # up, the loopback is automatically set up too. | |
20 | lxc.network.flags = up | |
21 | ||
22 | # specify the physical network device which will communicate with the | |
23 | # outside world | |
24 | lxc.network.link = eth0 | |
25 | ||
26 | # NIC ethernet mac address | |
27 | lxc.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 | |
31 | lxc.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 | |
35 | lxc.network.ipv6 = 2003:db8:1:0:214:1234:fe0b:3596 | |
36 |