Skip to content

Commit

Permalink
test/integration: define podman network gateway manually
Browse files Browse the repository at this point in the history
Podman 2.2.0 doesn't create a gateway by default. See:
containers/podman#8748

This commits introduces a workaround: specifying the gateway manually.

Note that the gateway is used in test/run-builder.sh
  • Loading branch information
ondrejbudai committed Dec 16, 2020
1 parent 2e66661 commit 0911453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/run-koji-container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 0911453

Please sign in to comment.