change name

This commit is contained in:
Pascal Vizeli 2022-08-09 11:18:33 +00:00
parent 006db94cc0
commit 5c0172440a
2 changed files with 5 additions and 5 deletions

View File

@ -38,7 +38,7 @@ SYSTEMD_JOURNAL_VOLATILE = Path("/run/log/journal")
DOCKER_NETWORK = "hassio" DOCKER_NETWORK = "hassio"
DOCKER_NETWORK_MASK = ip_network("172.30.32.0/23") DOCKER_NETWORK_MASK = ip_network("172.30.32.0/23")
DOCKER_NETWORK_RANGE = ip_network("172.30.33.0/24") 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. # This needs to match the dockerd --cpu-rt-runtime= argument.
DOCKER_CPU_RUNTIME_TOTAL = 950_000 DOCKER_CPU_RUNTIME_TOTAL = 950_000

View File

@ -9,9 +9,9 @@ import requests
from ..const import ( from ..const import (
DOCKER_NETWORK, DOCKER_NETWORK,
DOCKER_NETWORK_LINK_LOCAL,
DOCKER_NETWORK_MASK, DOCKER_NETWORK_MASK,
DOCKER_NETWORK_RANGE, DOCKER_NETWORK_RANGE,
DOCKER_NETWORK_ULA,
) )
from ..exceptions import DockerError from ..exceptions import DockerError
@ -92,9 +92,9 @@ class DockerNetwork:
iprange=str(DOCKER_NETWORK_RANGE), iprange=str(DOCKER_NETWORK_RANGE),
) )
ipam_pool_v6 = docker.types.IPAMPool( ipam_pool_v6 = docker.types.IPAMPool(
subnet=str(DOCKER_NETWORK_LINK_LOCAL), subnet=str(DOCKER_NETWORK_ULA),
gateway=str(DOCKER_NETWORK_LINK_LOCAL[1]), gateway=str(DOCKER_NETWORK_ULA[1]),
iprange=str(DOCKER_NETWORK_LINK_LOCAL), iprange=str(DOCKER_NETWORK_ULA),
) )
ipam_config = docker.types.IPAMConfig(pool_configs=[ipam_pool_v4, ipam_pool_v6]) ipam_config = docker.types.IPAMConfig(pool_configs=[ipam_pool_v4, ipam_pool_v6])