Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error on multiple ip's #6

Open
arvidbjorkstrom opened this issue Nov 1, 2019 · 0 comments
Open

Error on multiple ip's #6

arvidbjorkstrom opened this issue Nov 1, 2019 · 0 comments

Comments

@arvidbjorkstrom
Copy link

arvidbjorkstrom commented Nov 1, 2019

If the computer has multiple IP's (in my case because of virtual machines running on my computer) the workflow just fails. I've fixed it in a quite hacky way for now by replacing the local ipv4 line with

ifconfig | grep 'inet ' | grep -Fv 127.0.0.1 | head -n 1 | awk '{print $2}'

When I get time i'll get on doing a nicer fix and creating a pull request if no one bets me to it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant