config.tmpl, provision.sh: allow to override MASTER using the MASTER env variable