github.com/SUSE/skuba@v1.4.17/ci/infra/aws/cloud-init/commands.tpl (about)

     1    - echo "solver.onlyRequires = true" >> /etc/zypp/zypp.conf
     2    - [ zypper, -n, install, ${packages} ]
     3    - [ ip, link, delete, docker0 ]
     4    - iptables -L | grep DOCKER | awk {'print $2'} | xargs -d "\n" -i iptables -X {}
     5    - iptables-save | awk '/^[*]/ { print $1 "\nCOMMIT" }' | iptables-restore
     6    - lsmod | egrep ^iptable_ | awk '{print $1}' | xargs -rd\\n modprobe -r