From 6256422ac5ecbf94f3c23b73ed93945e3b5219ce Mon Sep 17 00:00:00 2001 From: LinuxSquare Date: Sat, 23 Dec 2023 13:25:20 +0100 Subject: [PATCH] Fix network creation --- utils/podman | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils/podman b/utils/podman index d9ac13b..5f47b31 100644 --- a/utils/podman +++ b/utils/podman @@ -39,7 +39,8 @@ function startpod() { # check if network is needed if [[ -n $(jq -r .network.name "$(getValueByKey 'PODMAN_DIRECTORY')/${1}/config.json") ]]; then - podman network create $(getValueByKey 'PODMAN_DIRECTORY')/${1}/config.json + local network="$(jq -r .network.name $(getValueByKey 'PODMAN_DIRECTORY')/${1}/config.json)" + podman network create "$network" fi podman-compose up -d