Skip to content

Commit

Permalink
Run crio-configure after bootstrap has pivot
Browse files Browse the repository at this point in the history
  • Loading branch information
vrutkovs committed Nov 1, 2019
1 parent cd7711d commit e5a58b3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 3 additions & 0 deletions data/data/bootstrap/files/usr/local/bin/bootkube.sh.template
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,9 @@ if [ ! -f .pivot-done ]; then
/usr/local/bin/machine-config-daemon pivot
fi

# Run crio-configure after the pivot
/usr/local/bin/crio-configure.sh

mkdir --parents ./{bootstrap-manifests,manifests}

if [ ! -f openshift-manifests.done ]
Expand Down
4 changes: 1 addition & 3 deletions data/data/bootstrap/systemd/units/bootkube.service
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[Unit]
Description=Bootstrap a Kubernetes cluster
Requires=crio-configure.service
Wants=kubelet.service
After=kubelet.service crio-configure.service
After=release-image.service
ConditionPathExists=!/opt/openshift/.bootkube.done

[Service]
Expand Down

0 comments on commit e5a58b3

Please sign in to comment.