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

Not able to provide a custom configuration directory for nhc-genconf. It always picks /etc/nhc #38

Open
naureensaba opened this issue Jan 14, 2019 · 1 comment

Comments

@naureensaba
Copy link

LBNL NHC

The nhc utility has an option to specify the custom configuration directory using the -D option, in order to load the scripts from the custom directory.

Whereas the nhc-genconf utility doesn't have this option. It always loads the '*.nhc' scripts from the /etc/nhc/scripts directory.

If I have configured nhc in a way where I have all my '*.nhc' scripts in the /opt/clustertest/nhc/etc/nhc/scripts directory.

nhc-genconf has the following option:
-c Write config to (default: /etc/nhc/nhc.conf.auto)

But I am not able to generate the configuration file using the -c option, as it is expecting the '*.nhc ' scripts to be in the /etc/nhc/scripts directory.

It always gives me the following error:
/opt/clustertest/nhc/sbin/nhc-genconf: line 330: nhc_common_unparse_size: command not found
/opt/clustertest/nhc/sbin/nhc-genconf: line 334: nhc_common_unparse_size: command not found

@adrianreber
Copy link
Member

@naureensaba Could you open your bug report at the ohpc repository (https://github.com/openhpc/ohpc). This repository (submission) is only for new component submission to OpenHPC.

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

2 participants