Fix default
This commit is contained in:
parent
bfabf37420
commit
f1d052c044
2
main.py
2
main.py
@ -161,7 +161,7 @@ def write_service_units(args, yaml_dict):
|
||||
enforce_list("networks", service)
|
||||
unit_file["Container"]["Network"] = list(map(lambda x: f"{x}.network", service["networks"]))
|
||||
else:
|
||||
unit_file["Container"]["Network"] = ["default"]
|
||||
unit_file["Container"]["Network"] = ["default.network"]
|
||||
if "devices" in service:
|
||||
unit_file["Container"]["AddDevice"] = service["devices"]
|
||||
if "userns_mode" in service:
|
||||
|
Loading…
Reference in New Issue
Block a user