Skip to content

allow use of command line arguments again#22

Open
jedix wants to merge 3 commits intoolafz:masterfrom
jedix:master
Open

allow use of command line arguments again#22
jedix wants to merge 3 commits intoolafz:masterfrom
jedix:master

Conversation

@jedix
Copy link
Copy Markdown

@jedix jedix commented Sep 3, 2018

Commit 245f1e3 breaks the described usage of the clustercheck script while allowing variables to be set in /etc/sysconfig/clustercheck.

This PR still reads values from this file but overwrites them with values given via command line arguments (if given).

Should also fix #20 and #21.

@pcass-epcc
Copy link
Copy Markdown

Can I ask how the defaults_extra_file parameter is used? It looks like all the parameters are positional, so I can only specify it if I've specified all other parameters, including username and password... but the main reason to use a file would be to avoid putting the username and password on the command line

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.

error after update /etc/sysconfig/clustercheck

2 participants