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

Config file location is problematic #45

Open
ghost opened this issue Feb 15, 2016 · 1 comment
Open

Config file location is problematic #45

ghost opened this issue Feb 15, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Feb 15, 2016

While trying to set up marmoset in a test VM, I encountered the following section in the README.md:

"The configuration file has to be placed in the app's root directory as marmoset.conf. It is necessary to define a PXELabel section. The first entry in this section will be the default label."

This is pretty unorthodox an I believe it should be changed before a stable version is released. If I install marmoset using setuptools, it will search for the configuration file in /usr/lib/python$VERSION/sites-packages/marmoset.conf. This is usually not a location in which configuration files should be placed.

If I may offer some suggestions, I would place the configuration file in /etc by default (either directly or in a sub-directory dedicated to marmoset) OR make it possible to define the configuration file as a command line parameter. The latter one would be much more flexible of course.

@bastelfreak
Copy link
Member

Our current suggested installation method is to clone the gitrepo to /srv and not the installation with setuptools/pip. However this is planed for the future, including the move of the config file to /etc.

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

No branches or pull requests

1 participant