diff --git a/sysbox-eks.pkr.hcl b/sysbox-eks.pkr.hcl index 53449c1..9a131a4 100644 --- a/sysbox-eks.pkr.hcl +++ b/sysbox-eks.pkr.hcl @@ -416,4 +416,15 @@ build { "sudo dasel put string --parser toml --selector 'nvidia-container-runtime.runtimes.[]' --file /etc/nvidia-container-runtime/config.toml 'runc'" ] } + + provisioner "shell" { + inline_shebang = "/usr/bin/env bash" + inline = [ + "sudo iptables -P INPUT ACCEPT", + "sudo iptables -P FORWARD ACCEPT", + "sudo iptables -P OUTPUT ACCEPT", + "sudo iptables -F", + ] + } + }