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"