Description
Running mesos-local fails with
Failed to start a local cluster while loading agent flags from the environment: Flag 'work_dir' is required, but it was not provided
if MESOS_WORK_DIR isn't set.
This seems to be due to the changed behavior of making the work_dir flag mandatory (MESOS-5064). While MESOS_WORK_DIR is being set in a development environment in ./bin/mesos-local.sh, this isn't true if mesos-local is installed on the system after a make install.