From 66a5a8bc0aba5da3a2f8c167191ce6bb779ecbd1 Mon Sep 17 00:00:00 2001 From: Thomas Fricke Date: Mon, 7 Dec 2015 11:33:59 +0100 Subject: [PATCH] add debug check --- cluster/libvirt-coreos/util.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cluster/libvirt-coreos/util.sh b/cluster/libvirt-coreos/util.sh index bba4e79f61f..c4feeddd0f1 100644 --- a/cluster/libvirt-coreos/util.sh +++ b/cluster/libvirt-coreos/util.sh @@ -16,6 +16,8 @@ # A library of helper functions that each provider hosting Kubernetes must implement to use cluster/kube-*.sh scripts. +[ ! -z ${UTIL_SH_DEBUG+x} ] && set -x + KUBE_ROOT=$(dirname "${BASH_SOURCE}")/../.. readonly ROOT=$(dirname "${BASH_SOURCE}") source "$ROOT/${KUBE_CONFIG_FILE:-"config-default.sh"}"