change name
This commit is contained in:
parent
006db94cc0
commit
5c0172440a
|
@ -38,7 +38,7 @@ SYSTEMD_JOURNAL_VOLATILE = Path("/run/log/journal")
|
|||
DOCKER_NETWORK = "hassio"
|
||||
DOCKER_NETWORK_MASK = ip_network("172.30.32.0/23")
|
||||
DOCKER_NETWORK_RANGE = ip_network("172.30.33.0/24")
|
||||
DOCKER_NETWORK_LINK_LOCAL = ip_network("fd00:172:30:32::/64")
|
||||
DOCKER_NETWORK_ULA = ip_network("fd00:172:30:32::/64")
|
||||
|
||||
# This needs to match the dockerd --cpu-rt-runtime= argument.
|
||||
DOCKER_CPU_RUNTIME_TOTAL = 950_000
|
||||
|
|
|
@ -9,9 +9,9 @@ import requests
|
|||
|
||||
from ..const import (
|
||||
DOCKER_NETWORK,
|
||||
DOCKER_NETWORK_LINK_LOCAL,
|
||||
DOCKER_NETWORK_MASK,
|
||||
DOCKER_NETWORK_RANGE,
|
||||
DOCKER_NETWORK_ULA,
|
||||
)
|
||||
from ..exceptions import DockerError
|
||||
|
||||
|
@ -92,9 +92,9 @@ class DockerNetwork:
|
|||
iprange=str(DOCKER_NETWORK_RANGE),
|
||||
)
|
||||
ipam_pool_v6 = docker.types.IPAMPool(
|
||||
subnet=str(DOCKER_NETWORK_LINK_LOCAL),
|
||||
gateway=str(DOCKER_NETWORK_LINK_LOCAL[1]),
|
||||
iprange=str(DOCKER_NETWORK_LINK_LOCAL),
|
||||
subnet=str(DOCKER_NETWORK_ULA),
|
||||
gateway=str(DOCKER_NETWORK_ULA[1]),
|
||||
iprange=str(DOCKER_NETWORK_ULA),
|
||||
)
|
||||
|
||||
ipam_config = docker.types.IPAMConfig(pool_configs=[ipam_pool_v4, ipam_pool_v6])
|
||||
|
|
Loading…
Reference in New Issue