mirror of
https://github.com/containers/podman
synced 2024-10-21 01:34:37 +00:00
Merge pull request #1858 from adrianreber/papr
Load NAT modules to fix tests involving CRIU
This commit is contained in:
commit
78604c3c39
|
@ -10,6 +10,13 @@ if [[ ${DIST} != "Fedora" ]]; then
|
||||||
PYTHON=python
|
PYTHON=python
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Since CRIU 3.11 has been pushed to Fedora 28 the checkpoint/restore
|
||||||
|
# test cases are actually run. As CRIU uses iptables to lock and unlock
|
||||||
|
# the network during checkpoint and restore it needs the following two
|
||||||
|
# modules loaded.
|
||||||
|
modprobe ip6table_nat || :
|
||||||
|
modprobe iptable_nat || :
|
||||||
|
|
||||||
# Build the test image
|
# Build the test image
|
||||||
${CONTAINER_RUNTIME} build -t ${IMAGE} -f Dockerfile.${DIST} . 2>build.log
|
${CONTAINER_RUNTIME} build -t ${IMAGE} -f Dockerfile.${DIST} . 2>build.log
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue