wangyum commented on a change in pull request #32173: URL: https://github.com/apache/spark/pull/32173#discussion_r613653720
########## File path: .github/actions/tune-runner-vm/action.yml ########## @@ -0,0 +1,13 @@ +name: Tune Runner VM +description: tunes the GitHub Runner VM operation system +runs: + using: composite + steps: + - run: | + if [[ "$OSTYPE" == "linux-gnu"* ]]; then + # workaround for https://github.com/actions/virtual-environments/issues/3185 + # Ensure that reverse lookups for current hostname are handled properly + # Add the current IP address, long hostname and short hostname record to /etc/hosts file + echo -e "$(ip addr show eth0 | grep "inet\b" | awk '{print $2}' | cut -d/ -f1)\t$(hostname -f) $(hostname -s)" | sudo tee -a /etc/hosts + fi + shell: bash Review comment: Please append an empty line. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
