mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-21 16:16:31 +00:00
Add localhost to hosts file (#1240)
This commit is contained in:
parent
981f2b193c
commit
be8439d4ac
@ -222,6 +222,7 @@ class CoreDNS(JsonConfig, CoreSysAttributes):
|
||||
def _init_hosts(self) -> None:
|
||||
"""Import hosts entry."""
|
||||
# Generate Default
|
||||
self.add_host(IPv4Address("127.0.0.1"), ["localhost"], write=False)
|
||||
self.add_host(
|
||||
self.sys_docker.network.supervisor, ["hassio", "supervisor"], write=False
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user