Skip to content

Commit

Permalink
Merge pull request replicatedhq#550 from replicatedhq/mike-cd-tweak
Browse files Browse the repository at this point in the history
FIX ubuntu stability for containerd
  • Loading branch information
mzaneri committed Jun 18, 2020
2 parents e521224 + 11a4dab commit 6c90aea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/common/containerd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ function containerd_get_host_packages_online() {
}

function configure_containerd() {
sleep 1

mkdir -p /etc/containerd
containerd config default > /etc/containerd/config.toml

Expand Down Expand Up @@ -39,9 +41,7 @@ function install_containerd() {
bail "kURL does not support containerd on ${LSB_DIST} ${DIST_VERSION}, please use docker instead"
;;
esac
fi

if [ ! -f "/etc/containerd/config.toml" ]; then
configure_containerd
configure_containerd
fi
}

0 comments on commit 6c90aea

Please sign in to comment.