Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
olethanh committed Oct 22, 2024
1 parent bc22924 commit f1b7839
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/aleph/vm/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ def resolvectl_dns_servers(interface: str) -> Iterable[str]:
yield server.strip()




def get_default_interface() -> str | None:
"""Returns the default network interface"""
with open("/proc/net/route") as f:
Expand Down Expand Up @@ -171,8 +169,10 @@ class Settings(BaseSettings):
description="Use the Neighbor Discovery Protocol Proxy to respond to Router Solicitation for instances on IPv6",
)

DNS_RESOLUTION: DnsResolver | None = Field(default=DnsResolver.detect,
description="Method used to resolve the dns server if DNS_NAMESERVERS is not present.")
DNS_RESOLUTION: DnsResolver | None = Field(
default=DnsResolver.detect,
description="Method used to resolve the dns server if DNS_NAMESERVERS is not present.",
)
DNS_NAMESERVERS: list[str] | None = None
DNS_NAMESERVERS_IPV4: list[str]
DNS_NAMESERVERS_IPV6: list[str]
Expand Down

0 comments on commit f1b7839

Please sign in to comment.