Commit 5aecdc6a authored by Pietro Albini's avatar Pietro Albini

lxd: remove ipv6 networking

parent 42bd3d8b
...@@ -24,8 +24,7 @@ ...@@ -24,8 +24,7 @@
# #
# #
- role: lxd - role: lxd
subnet4: 10.0.0 subnet: 10.0.0
subnet6: 2001:470:b368:4242
- role: lxd-container - role: lxd-container
......
server=/lxd/{{ subnet4 }}.1 server=/lxd/{{ subnet }}.1
bind-interfaces bind-interfaces
except-interface=lxdbr0 except-interface=lxdbr0
...@@ -17,16 +17,16 @@ LXD_DOMAIN="lxd" ...@@ -17,16 +17,16 @@ LXD_DOMAIN="lxd"
# IPv4 # IPv4
## IPv4 address (e.g. 10.0.8.1) ## IPv4 address (e.g. 10.0.8.1)
LXD_IPV4_ADDR="{{ subnet4 }}.1" LXD_IPV4_ADDR="{{ subnet }}.1"
## IPv4 netmask (e.g. 255.255.255.0) ## IPv4 netmask (e.g. 255.255.255.0)
LXD_IPV4_NETMASK="255.255.255.0" LXD_IPV4_NETMASK="255.255.255.0"
## IPv4 network (e.g. 10.0.8.0/24) ## IPv4 network (e.g. 10.0.8.0/24)
LXD_IPV4_NETWORK="{{ subnet4 }}.0/24" LXD_IPV4_NETWORK="{{ subnet }}.0/24"
## IPv4 DHCP range (e.g. 10.0.8.2,10.0.8.254) ## IPv4 DHCP range (e.g. 10.0.8.2,10.0.8.254)
LXD_IPV4_DHCP_RANGE="{{ subnet4 }}.2,{{ subnet4 }}.254" LXD_IPV4_DHCP_RANGE="{{ subnet }}.2,{{ subnet }}.254"
## IPv4 DHCP number of hosts (e.g. 250) ## IPv4 DHCP number of hosts (e.g. 250)
LXD_IPV4_DHCP_MAX="252" LXD_IPV4_DHCP_MAX="252"
...@@ -36,16 +36,16 @@ LXD_IPV4_NAT="true" ...@@ -36,16 +36,16 @@ LXD_IPV4_NAT="true"
# IPv6 # IPv6
## IPv6 address (e.g. 2001:470:b368:4242::1) ## IPv6 address (e.g. 2001:470:b368:4242::1)
LXD_IPV6_ADDR="{{ subnet6 }}::1" LXD_IPV6_ADDR=""
## IPv6 CIDR mask (e.g. 64) ## IPv6 CIDR mask (e.g. 64)
LXD_IPV6_MASK="64" LXD_IPV6_MASK=""
## IPv6 network (e.g. 2001:470:b368:4242::/64) ## IPv6 network (e.g. 2001:470:b368:4242::/64)
LXD_IPV6_NETWORK="{{ subnet6 }}::/64" LXD_IPV6_NETWORK=""
## NAT IPv6 traffic ## NAT IPv6 traffic
LXD_IPV6_NAT="true" LXD_IPV6_NAT=""
# Run a minimal HTTP PROXY server # Run a minimal HTTP PROXY server
LXD_IPV6_PROXY="false" LXD_IPV6_PROXY=""
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment