<%
conf = node['lxcs']['lxd']['bridge']['conf']
-%>
# WARNING: This file is generated by a debconf template!
# It is recommended to update it by using "dpkg-reconfigure -p medium lxd"

# Whether to setup a new bridge or use an existing one
USE_LXD_BRIDGE="<%= conf['USE_LXD_BRIDGE'] %>"

# Bridge name
# This is still used even if USE_LXD_BRIDGE is set to false
# set to an empty value to fully disable
LXD_BRIDGE="<%= conf['LXD_BRIDGE'] %>"

# Update the "default" LXD profile
UPDATE_PROFILE="<%= conf['UPDATE_PROFILE'] %>"

# Path to an extra dnsmasq configuration file
LXD_CONFILE="<%= conf['LXD_CONFILE'] %>"

# DNS domain for the bridge
LXD_DOMAIN="<%= conf['LXD_DOMAIN'] %>"

# IPv4
## IPv4 address (e.g. 10.0.8.1)
LXD_IPV4_ADDR="<%= conf['LXD_IPV4_ADDR'] %>"

## IPv4 netmask (e.g. 255.255.255.0)
LXD_IPV4_NETMASK="<%= conf['LXD_IPV4_NETMASK'] %>"

## IPv4 network (e.g. 10.0.8.0/24)
LXD_IPV4_NETWORK="<%= conf['LXD_IPV4_NETWORK'] %>"

## IPv4 DHCP range (e.g. 10.0.8.2,10.0.8.254)
LXD_IPV4_DHCP_RANGE="<%= conf['LXD_IPV4_DHCP_RANGE'] %>"

## IPv4 DHCP number of hosts (e.g. 250)
LXD_IPV4_DHCP_MAX="<%= conf['LXD_IPV4_DHCP_MAX'] %>"

## NAT IPv4 traffic
LXD_IPV4_NAT="<%= conf['LXD_IPV4_NAT'] %>"

# IPv6
## IPv6 address (e.g. 2001:470:b368:4242::1)
LXD_IPV6_ADDR="<%= conf['LXD_IPV6_ADDR'] %>"

## IPv6 CIDR mask (e.g. 64)
LXD_IPV6_MASK="<%= conf['LXD_IPV6_MASK'] %>"

## IPv6 network (e.g. 2001:470:b368:4242::/64)
LXD_IPV6_NETWORK="<%= conf['LXD_IPV6_NETWORK'] %>"

## NAT IPv6 traffic
LXD_IPV6_NAT="<%= conf['LXD_IPV6_NAT'] %>"

# Run a minimal HTTP PROXY server
LXD_IPV6_PROXY="<%= conf['LXD_IPV6_PROXY'] %>"
