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:
parent
a28e4ab9af
commit
4fdc457745
1 changed files with 1 additions and 1 deletions
|
|
@ -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 \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue