mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-19 15:16:33 +00:00
Add log message that system restart is required for IPv6 changes
This commit is contained in:
parent
ce6e82f9c5
commit
20e527a9db
@ -60,6 +60,7 @@ class APIDocker(CoreSysAttributes):
|
|||||||
body = await api_validate(SCHEMA_OPTIONS, request)
|
body = await api_validate(SCHEMA_OPTIONS, request)
|
||||||
|
|
||||||
if ATTR_ENABLE_IPV6 in body:
|
if ATTR_ENABLE_IPV6 in body:
|
||||||
|
_LOGGER.info("System restart required to apply new IPv6 configuration")
|
||||||
self.sys_docker.config.enable_ipv6 = body[ATTR_ENABLE_IPV6]
|
self.sys_docker.config.enable_ipv6 = body[ATTR_ENABLE_IPV6]
|
||||||
|
|
||||||
await self.sys_docker.config.save_data()
|
await self.sys_docker.config.save_data()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user