github.com/containers/libpod@v1.9.4-0.20220419124438-4284fd425507/contrib/cirrus/setup_container_environment.sh (about)

     1  #!/bin/bash
     2  set -e
     3  
     4  source $(dirname $0)/lib.sh
     5  
     6  req_env_var GOSRC OS_RELEASE_ID CONTAINER_RUNTIME
     7  
     8  # Since CRIU 3.11 has been pushed to Fedora 28 the checkpoint/restore
     9  # test cases are actually run. As CRIU uses iptables to lock and unlock
    10  # the network during checkpoint and restore it needs the following two
    11  # modules loaded.
    12  modprobe ip6table_nat || :
    13  modprobe iptable_nat || :
    14  
    15  # Pull the test image
    16  ${CONTAINER_RUNTIME} pull ${IN_PODMAN_IMAGE}