Skip to content

Commit

Permalink
use sudo
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Aug 23, 2024
1 parent b6456c0 commit e2452ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@ runs:
if: runner.os == 'macOS'
run: |
sudo mkdir /etc/resolver/
echo 'domain myhugelab.local' >> /etc/resolver/myhugelab.local
echo 'search myhugelab.local' >> /etc/resolver/myhugelab.local
echo 'nameserver 8.8.8.8' >> /etc/resolver/myhugelab.local
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
Expand Down

0 comments on commit e2452ce

Please sign in to comment.