Fix default

This commit is contained in:
Fabian 2024-11-04 01:23:14 +01:00
parent bfabf37420
commit f1d052c044

View File

@ -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: