diff --git a/main.py b/main.py index 57e3a44..3bd50d8 100755 --- a/main.py +++ b/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: