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
This commit is contained in:
Ondřej Budai 2020-12-16 14:27:29 +01:00 committed by Ondřej Budai
parent a28e4ab9af
commit 4fdc457745

View file

@ -67,7 +67,7 @@ koji_start() {
cp /etc/osbuild-composer/ca-crt.pem ${SHARE_DIR}/client-ca.pem cp /etc/osbuild-composer/ca-crt.pem ${SHARE_DIR}/client-ca.pem
fi 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 \ ${CONTAINER_RUNTIME} run -d --name org.osbuild.koji.postgres --network org.osbuild.koji \
--hostname org.osbuild.koji.koji \ --hostname org.osbuild.koji.koji \