Revert "ci: replace stale rancher.yohler.net hosts entries instead of appending"
This reverts commit b4ad1158f7.
This commit is contained in:
@@ -109,11 +109,7 @@ jobs:
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: pin rancher host
|
||||
run: |
|
||||
echo "existing entries:"; grep 'rancher.yohler.net' /etc/hosts || echo "(none)"
|
||||
{ echo "192.168.4.43 rancher.yohler.net"; grep -v 'rancher.yohler.net' /etc/hosts; } > /tmp/hosts
|
||||
cat /tmp/hosts > /etc/hosts
|
||||
getent hosts rancher.yohler.net || grep 'rancher.yohler.net' /etc/hosts
|
||||
run: echo "192.168.4.43 rancher.yohler.net" >> /etc/hosts
|
||||
|
||||
- name: Set environment variables
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user