Skip to content

Commit

Permalink
Print /etc/hosts after modification
Browse files Browse the repository at this point in the history
Signed-off-by: Michal Polovka <[email protected]>
  • Loading branch information
miskopo committed Nov 23, 2023
1 parent 57dfd55 commit 9c8b97d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/gating.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ jobs:
- name: Put IPA Server's IP to /etc/hosts
run: sudo echo "$(vagrant ssh -c "hostname -I") server.ipa.demo" | sudo tee -a /etc/hosts

- name: Print /etc/hosts
run: sudo cat /etc/hosts

- name: Save server's IP address to env
run: echo "SERVER_IP=$(vagrant ssh -c "hostname -I")" >> $GITHUB_ENV

Expand Down

0 comments on commit 9c8b97d

Please sign in to comment.