Merge pull request #886 from brendandburns/shell_sucks

Fix kubecfg.sh
This commit is contained in:
brendandburns 2014-08-14 14:33:43 -07:00
commit 25352c56d9

View File

@ -26,6 +26,9 @@ if [ ! -x $CLOUDCFG ]; then
fi
detect-master > /dev/null
export KUBERNETES_MASTER=https://${KUBE_MASTER_IP}
if [ "$KUBE_MASTER_IP" != "" ] && [ "$KUBERNETES_MASTER" == "" ]; then
echo "Setting master to: https://${KUBE_MASTER_IP}"
export KUBERNETES_MASTER=https://${KUBE_MASTER_IP}
fi
$CLOUDCFG $@