mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-06-03 22:50:24 +00:00
37 lines
1.3 KiB
Plaintext
37 lines
1.3 KiB
Plaintext
# 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
|
|
|