This commit is contained in:
Jephté Clain 2020-09-17 06:02:05 +04:00
parent ada594a30b
commit bc1a740f35
1 changed files with 7 additions and 0 deletions

View File

@ -12,7 +12,14 @@ if [ -n "$UTOOLS_DOCKER_ALIASES" ]; then
local machine="$2"; shift; shift
machine="$(
CLUSTERDIRS=()
DM_ALIASES=()
source ~/etc/default/dk
for alias_machine in "${DM_ALIASES[@]}"; do
if [ "${alias_machine%%:*}" == "$machine" ]; then
echo "${alias_machine#*:}"
exit
fi
done
for clusterdir in "${CLUSTERDIRS[@]}"; do
if [ -f "$clusterdir/0config/configure.conf" ]; then
DM_ALIASES=()