Skip to content

Commit

Permalink
rm if
Browse files Browse the repository at this point in the history
  • Loading branch information
louiseschmidtgen committed Nov 8, 2024
1 parent 3cf732a commit 289bd93
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/performance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,10 @@ jobs:
sg lxd -c 'lxc version'
- name: Ensure lxd network traffic flows
run: |
if iptables -nL DOCKER-USER >/dev/null 2>&1; then
iptables -I DOCKER-USER -i lxdbr0 -j ACCEPT
ip6tables -I DOCKER-USER -i lxdbr0 -j ACCEPT
iptables -I DOCKER-USER -o lxdbr0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
ip6tables -I DOCKER-USER -o lxdbr0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
else
echo "DOCKER-USER chain does not exist, skipping iptables rules"
fi
iptables -I DOCKER-USER -i lxdbr0 -j ACCEPT
ip6tables -I DOCKER-USER -i lxdbr0 -j ACCEPT
iptables -I DOCKER-USER -o lxdbr0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
ip6tables -I DOCKER-USER -o lxdbr0 -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
- name: Download latest k8s-snap
run: |
sudo snap download k8s --channel=latest/edge --basename k8s
Expand Down

0 comments on commit 289bd93

Please sign in to comment.