mirror of
https://github.com/lxc/go-lxc.git
synced 2026-02-05 15:47:17 +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
|
- name: Install dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo add-apt-repository ppa:ubuntu-lxc/daily -y
|
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
|
- name: Setup test environment
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user