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

Added command-line parser to parse arguments passed to the script #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

ghost
Copy link

@ghost ghost commented Feb 24, 2014

I have done the following changes :

  • Added a main() to the script
  • Added command-line parsing ability
  • Added command-line option "-m" or "--mgmt-intf" to allow the user to specify Management interface instead of the default eth0
  • Added command-line option "-i" or "--internal-intf" to allow the user to specify Internal interface instead of the default eth1

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.

0 participants