From: Ian Campbell Subject: [PATCH OSSTEST 1/5] cri-args-hostslists: allow instance specific settings Date: Wed, 1 Apr 2015 16:10:18 +0100 Message-ID: <1427901022-24314-1-git-send-email-ian.campbell@citrix.com> References: <1427900998.13425.21.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1427900998.13425.21.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com Cc: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org In particular this new $HOME/.xen-osstest/cri-args-hostslists.settings 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 --- cri-args-hostlists | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cri-args-hostlists b/cri-args-hostlists index 04cd6be..bf847f8 100644 --- a/cri-args-hostlists +++ b/cri-args-hostlists @@ -16,7 +16,9 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . - +if [ -e $HOME/.xen-osstest/cri-args-hostslists.settings ]; then + source $HOME/.xen-osstest/cri-args-hostslists.settings +fi export OSSTEST_CONFIG=${OSSTEST_CONFIG:-production-config} check_stop_core () { -- 2.1.4