diff --git a/actions/prepare/action.yml b/actions/prepare/action.yml index 4539fbf..519e84c 100644 --- a/actions/prepare/action.yml +++ b/actions/prepare/action.yml @@ -118,13 +118,13 @@ runs: shell: bash if: runner.os == 'macOS' run: | + sudo networksetup -listallnetworkservices sudo mkdir /etc/resolver/ ls -al /etc/resolver/ - ls -al /etc/resolver/* - sudo echo 'domain myhugelab.local' >> /etc/resolver/myhugelab.local - sudo echo 'search myhugelab.local' >> /etc/resolver/myhugelab.local - sudo echo 'nameserver 8.8.8.8' >> /etc/resolver/myhugelab.local - sudo killall -HUP mDNSResponder + #sudo echo 'domain myhugelab.local' >> /etc/resolver/myhugelab.local + #sudo echo 'search myhugelab.local' >> /etc/resolver/myhugelab.local + #sudo echo 'nameserver 8.8.8.8' >> /etc/resolver/myhugelab.local + #sudo killall -HUP mDNSResponder scutil --dns #sudo sed -i 's/#DNS=/DNS=8.8.8.8 8.8.4.4/g' /etc/systemd/resolved.conf #sudo systemctl daemon-reload