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

Autodetect the default network interface #45

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

linkvt
Copy link

@linkvt linkvt commented Nov 22, 2020

Closes #13

Hi,

this PR auto detects the default network interface as suggested in #13.

I thought that this could be done with the PYTHON2BASH configuration option but it is interpreted with the python function ast.literal_eval in a script in the base image which only allows safe python data types, so this was not possible and the implementation here was required.

I manipulated the check to make it fail and the container didn't start so everything seems to be working.

Thanks, Vincent

@linkvt linkvt force-pushed the autodetect-default-interface branch from 7a8526d to 10ab3cc Compare November 22, 2020 23:29
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

Successfully merging this pull request may close these issues.

1 participant