Skip to content

Commit

Permalink
merged in main
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-B committed Aug 28, 2024
2 parents 0adac20 + 35e85d7 commit ae80d4a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions actions/prepare/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,3 +147,12 @@ runs:
echo 'spalloc_server = https://spinnaker.cs.man.ac.uk/spalloc/' >> ~/.${{ inputs.cfg_file }}.cfg
echo 'spalloc_port = 22244' >> ~/.${{ inputs.cfg_file }}.cfg
echo 'version = 5' >> ~/.${{ inputs.cfg_file }}.cfg
- name: Set dns server LINUX
shell: bash
if: runner.os == 'Linux'
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

0 comments on commit ae80d4a

Please sign in to comment.