Skip to content

Commit

Permalink
CCv0: Add -w to iptables in configure_cc_containerd
Browse files Browse the repository at this point in the history
Adding -w iptables will wait for the lock on the xtables to be released.

Fixes: kata-containers#5765

Signed-off-by: Suraj Deshmukh <[email protected]>
  • Loading branch information
surajssd committed Sep 6, 2023
1 parent 3f74006 commit c040f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integration/confidential/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ configure_cc_containerd() {
if ! waitForProcess 30 5 "sudo crictl info >/dev/null"; then
die "containerd seems not operational after reconfigured"
fi
sudo iptables -P FORWARD ACCEPT
sudo iptables -w -P FORWARD ACCEPT
}

#
Expand Down

0 comments on commit c040f8c

Please sign in to comment.