Skip to content
This repository has been archived by the owner on Oct 16, 2024. It is now read-only.

Commit

Permalink
mount --make-rshared / fixes issue #41
Browse files Browse the repository at this point in the history
  • Loading branch information
poblin-orange committed May 19, 2021
1 parent a598e1d commit 025a307
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jobs/k3s-agent/templates/bin/pre-start.erb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ mkdir -p /etc
mkdir -p /var/vcap/store/k3s-node/etc/rancher
ln -sf /var/vcap/store/k3s-node/etc/rancher /etc/rancher

mount --make-rshared /

exit 0
2 changes: 2 additions & 0 deletions jobs/k3s-server/templates/bin/pre-start.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ chmod go-r /var/vcap/jobs/k3s-server/config/datastore-*
mkdir -p /var/vcap/store/k3s-server/
cp -f $JOB_DIR/config/additional-manifest.yaml /var/vcap/store/k3s-server/server/manifests/additional-manifest.yaml

mount --make-rshared /

exit 0

0 comments on commit 025a307

Please sign in to comment.