Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.20.0
-
None
-
None
-
CentOS 7
Description
The documentation states that cli params should be substitutable by environment variables
Each option can be set in two ways:
By passing it to the binary using --option_name=value.
By setting the environment variable MESOS_OPTION_NAME (the option name with a MESOS_ prefix added to it).
However at least the master's MESOS_work_dir and slave's "MESOS_master" env vars seem to be ignored:
[root@localhost ~]# echo $MESOS_master zk://localhost:2181/mesos [root@localhost ~]# mesos-slave Missing required option --master [root@localhost ~]# echo $MESOS_work_dir /var/lib/mesos [root@localhost ~]# mesos-master I0917 08:36:46.242200 31325 main.cpp:155] Build: 2014-08-22 05:06:06 by root I0917 08:36:46.242369 31325 main.cpp:157] Version: 0.20.0 I0917 08:36:46.242377 31325 main.cpp:160] Git tag: 0.20.0 I0917 08:36:46.242382 31325 main.cpp:164] Git SHA: f421ffdf8d32a8834b3a6ee483b5b59f65956497 --work_dir needed for replicated log based registry