From 4fdc457745e1147475ea3ac1e3b073e592d7b174 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Budai?= Date: Wed, 16 Dec 2020 14:27:29 +0100 Subject: [PATCH] test/integration: define podman network gateway manually Podman 2.2.0 doesn't create a gateway by default. See: https://github.com/containers/podman/issues/8748 This commits introduces a workaround: specifying the gateway manually. Note that the gateway is used in test/run-builder.sh --- test/run-koji-container.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/run-koji-container.sh b/test/run-koji-container.sh index 1420e7e..f62e5f4 100755 --- a/test/run-koji-container.sh +++ b/test/run-koji-container.sh @@ -67,7 +67,7 @@ koji_start() { cp /etc/osbuild-composer/ca-crt.pem ${SHARE_DIR}/client-ca.pem fi - ${CONTAINER_RUNTIME} network create org.osbuild.koji + ${CONTAINER_RUNTIME} network create org.osbuild.koji --subnet 10.89.0.0/24 --gateway 10.89.0.1 ${CONTAINER_RUNTIME} run -d --name org.osbuild.koji.postgres --network org.osbuild.koji \ --hostname org.osbuild.koji.koji \