Browse Source

fix: [docker-host] remove possible previous docker-compose related stuff

framadate
Valentin Lab 6 years ago
parent
commit
86b31d4e72
  1. 10
      precise/host/hooks/install.d/70-0k.sh

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

@ -46,6 +46,16 @@ mkdir -p /opt/apps
) )
##
## Remove possible previous docker-compose related stuff
##
if [ -f /etc/compose/local.conf ]; then
sed -ri 's%^(. /opt/venv/docker-compose/bin/activate)$%# \1 ## docker-compsoe not needed anymore%g' \
/etc/compose/local.conf
fi
## ##
## Install 0k-charm ## Install 0k-charm
## ##

Loading…
Cancel
Save