cri-args-hostlists and invoke-daemon now check for
$HOME/.xen-osstest/settings which can contain things like "export
OSSTEST_CONFIG=production-config-cambridge" to tailor things for a
particular instance of osstest running in production mode.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
[ ijc -- add invoke-daemon too and reword commit message accordingly ]
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-
+if [ -e $HOME/.xen-osstest/settings ]; then
+ source $HOME/.xen-osstest/settings
+fi
export OSSTEST_CONFIG=${OSSTEST_CONFIG:-production-config}
check_stop_core () {
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
+if [ -e $HOME/.xen-osstest/settings ]; then
+ source $HOME/.xen-osstest/settings
+fi
+export OSSTEST_CONFIG=${OSSTEST_CONFIG:-production-config}
-export OSSTEST_CONFIG=production-config
cd "${0%/*}"
if [ "x$2" != x ]; then sleep $2; fi