Browse Source

chg: [docker-host] don't force ``DEFAULT_COMPOSE_FILE`` in ``/etc/compose/local.conf``

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
pull/1/head 1.5.5
Valentin Lab 4 years ago
parent
commit
de449d1921
  1. 2
      precise/host/hooks/install.d/70-0k.sh

2
precise/host/hooks/install.d/70-0k.sh

@ -244,7 +244,7 @@ export CONFIGSTORE=\$DOCKER_DATASTORE/config
EOF 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 mkdir /etc/compose -p
touch /etc/compose/local.conf touch /etc/compose/local.conf
echo "DEFAULT_COMPOSE_FILE=/etc/compose/compose.yml" >> /etc/compose/local.conf echo "DEFAULT_COMPOSE_FILE=/etc/compose/compose.yml" >> /etc/compose/local.conf

Loading…
Cancel
Save