File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -528,6 +528,16 @@ jobs:
528528 run : brew install bash coreutils w3m socat
529529 - name : Uninstall qemu
530530 run : brew uninstall --ignore-dependencies --force qemu
531+ - name : " Allow limactl to firewall"
532+ if : matrix.create_arg == '--network=vzNAT'
533+ # Avoid macOS firewall prompt by pre-adding limactl to the firewall
534+ run : |
535+ sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add $(command -v limactl)
536+ sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
537+ sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getblockall
538+ sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getallowsigned
539+ sudo /usr/libexec/ApplicationFirewall/socketfilterfw --getstealthmode
540+ sudo /usr/libexec/ApplicationFirewall/socketfilterfw --listapps
531541 - name : Test
532542 run : ./hack/test-templates.sh templates/${{ matrix.template }}
533543 - if : failure()
You can’t perform that action at this time.
0 commit comments