Network opts
This commit is contained in:
parent
f1d052c044
commit
ab0a4009b5
2
main.py
2
main.py
@ -90,6 +90,8 @@ def write_network_units(args, yaml_dict):
|
|||||||
unit_file["Network"]["Internal"] = str(network.get("internal", True)).lower()
|
unit_file["Network"]["Internal"] = str(network.get("internal", True)).lower()
|
||||||
if "enable_ipv6" in network:
|
if "enable_ipv6" in network:
|
||||||
unit_file["Network"]["IPv6"] = str(network["enable_ipv6"]).lower()
|
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"] = {}
|
||||||
unit_file["Service"]["Restart"] = "on-failure"
|
unit_file["Service"]["Restart"] = "on-failure"
|
||||||
|
Loading…
Reference in New Issue
Block a user