#!/bin/bash # Copyright (c) 2017 Red Hat, Inc. # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at # http://www.eclipse.org/legal/epl-v10.html # post_init() { GLOBAL_HOST_IP=${GLOBAL_HOST_IP:=$(docker_run --net host ${BOOTSTRAP_IMAGE_CHEIP})} DEFAULT_CHE_HOST=$GLOBAL_HOST_IP CHE_HOST=${CHE_HOST:-${DEFAULT_CHE_HOST}} }