| 1 |
# the fstab mount file |
| 2 |
lxc.mount.fstab = ./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.net.0.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.net.0.flags = up |
| 21 |
|
| 22 |
# specify the physical network device which will communicate with the |
| 23 |
# outside world |
| 24 |
lxc.net.0.link = eth0 |
| 25 |
|
| 26 |
# NIC ethernet mac address |
| 27 |
lxc.net.0.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.net.0.ipv4.address = 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.net.0.ipv6.address = 2003:db8:1:0:214:1234:fe0b:3596 |
| 36 |
|