mirror of
https://github.com/lxc/go-lxc.git
synced 2026-02-05 06:46:38 +01:00
github: Drop firewall rules
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@@ -27,7 +27,15 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
sudo add-apt-repository ppa:ubuntu-lxc/daily -y
|
||||
sudo apt-get install -qq apparmor lxc lxc-dev pkg-config uidmap busybox libdbus-1-dev libseccomp-dev libcap-dev libselinux-dev
|
||||
sudo apt-get install -qq apparmor lxc lxc-dev pkg-config uidmap busybox libdbus-1-dev libseccomp-dev libcap-dev libselinux-dev nftables iptables
|
||||
|
||||
- name: Reset all firewalling
|
||||
run: |
|
||||
sudo iptables -F
|
||||
sudo iptables -P INPUT ACCEPT
|
||||
sudo iptables -P OUTPUT ACCEPT
|
||||
sudo iptables -P FORWARD ACCEPT
|
||||
sudo nft flush ruleset
|
||||
|
||||
- name: Setup test environment
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user