Skip to content

Commit

Permalink
Set 8.8.8.8 as dns server
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Aug 23, 2024
1 parent 1a299c1 commit 56503d1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ runs:
if: ${{ inputs.cfg_file == 'spynnaker' }}
uses: SpiNNakerManchester/SupportScripts/actions/pynn-setup@main

- name: Set 8.8.8.8 as dns server
run: |
sudo sed -i 's/#DNS=/DNS=8.8.8.8 8.8.4.4/g' /etc/systemd/resolved.conf
sudo systemctl daemon-reload
sudo systemctl restart systemd-networkd
sudo systemctl restart systemd-resolved
- name: Create cfg
if: ${{ inputs.cfg_file != '' }}
shell: bash
Expand Down

0 comments on commit 56503d1

Please sign in to comment.