Skip to content

Global MTT Config #768

@richard-barella

Description

@richard-barella

This idea is to have optional system/local config files for MTT. These config files are to set default options that can be overrided by either pyclient command-line arguments or by MTTDefaults in the INI file.

The file structure could look something like this:

File in /etc/mtt/mtt.cfg or ~/.mtt/mtt.cfg
verbose=True
skip-sections=*Database
plugin-dir=/path/to/proprietary/plugins

Also another idea to go along with this is a list of environment variables for MTT to load by default before starting (but only load the env vars that don't already exist), like:

File in /etc/mtt/mtt.env
MTT_ARGS="--verbose --some-other-arg"
HEADNODE_NAME=coolest_system_ever
MTT_DATABASE_IP=192.168.0.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions