]>
Commit | Line | Data |
---|---|---|
5e97c3fc | 1 | # the fstab mount file |
47148e96 | 2 | lxc.mount.fstab = ./fstab |
5e97c3fc | 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 | |
7fa3f2e9 | 15 | lxc.net.0.type = macvlan |
5e97c3fc | 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. |
7fa3f2e9 | 20 | lxc.net.0.flags = up |
5e97c3fc | 21 | |
22 | # specify the physical network device which will communicate with the | |
23 | # outside world | |
7fa3f2e9 | 24 | lxc.net.0.link = eth0 |
5e97c3fc | 25 | |
26 | # NIC ethernet mac address | |
7fa3f2e9 | 27 | lxc.net.0.hwaddr = 4a:49:43:49:79:bd |
5e97c3fc | 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 | |
9ff60df2 | 31 | lxc.net.0.ipv4.address = 1.2.3.5/24 |
5e97c3fc | 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 | |
2e44ae28 | 35 | lxc.net.0.ipv6.address = 2003:db8:1:0:214:1234:fe0b:3596 |
5e97c3fc | 36 |