diff --git a/src/runboat/kubefiles/runboat-clone-and-install.sh b/src/runboat/kubefiles/runboat-clone-and-install.sh index 4c19b49..447cdb1 100755 --- a/src/runboat/kubefiles/runboat-clone-and-install.sh +++ b/src/runboat/kubefiles/runboat-clone-and-install.sh @@ -11,6 +11,10 @@ if [ -f /mnt/data/initialized ] ; then exit 0 fi +# Remove addons dir, in case we are reinitializing after a previously +# failed installation. +rm -fr $ADDONS_DIR + # # Clone an addons repository at git reference in $ADDONS_DIR. # Run oca_install_addons on it.