From ab0a4009b5e5ad87972605722694d097f8cfc404 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Mon, 4 Nov 2024 12:14:29 +0100 Subject: [PATCH] Network opts --- main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main.py b/main.py index 3bd50d8..b911878 100755 --- a/main.py +++ b/main.py @@ -90,6 +90,8 @@ def write_network_units(args, yaml_dict): unit_file["Network"]["Internal"] = str(network.get("internal", True)).lower() if "enable_ipv6" in network: unit_file["Network"]["IPv6"] = str(network["enable_ipv6"]).lower() + unit_file["Network"]["DisableDns"] = "false" + unit_file["Network"]["Options"] = "isolate=true" unit_file["Service"] = {} unit_file["Service"]["Restart"] = "on-failure"