From de449d192129a451b875ef81fea4ea1cedd379a4 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Wed, 27 Jan 2021 15:22:28 +0100 Subject: [PATCH] chg: [docker-host] don't force ``DEFAULT_COMPOSE_FILE`` in ``/etc/compose/local.conf`` Signed-off-by: Valentin Lab --- precise/host/hooks/install.d/70-0k.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/precise/host/hooks/install.d/70-0k.sh b/precise/host/hooks/install.d/70-0k.sh index a9cce2a..195ab3b 100755 --- a/precise/host/hooks/install.d/70-0k.sh +++ b/precise/host/hooks/install.d/70-0k.sh @@ -244,7 +244,7 @@ export CONFIGSTORE=\$DOCKER_DATASTORE/config EOF -if ! egrep "^DEFAULT_COMPOSE_FILE=/etc/compose/compose.yml$" /etc/compose/local.conf >/dev/null 2>&1; then +if ! egrep "^DEFAULT_COMPOSE_FILE=" /etc/compose/local.conf >/dev/null 2>&1; then mkdir /etc/compose -p touch /etc/compose/local.conf echo "DEFAULT_COMPOSE_FILE=/etc/compose/compose.yml" >> /etc/compose/local.conf