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

Commit

Permalink
fix airgaped images location, fix 42
Browse files Browse the repository at this point in the history
  • Loading branch information
poblin-orange committed May 19, 2021
1 parent 025a307 commit 39c44ce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions jobs/k3s-agent-airgaped-images/templates/bin/pre-start.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

#copy images to containerd expected location (datadir/images) for airgap start.
# see https://rancher.com/docs/k3s/latest/en/installation/airgap/
mkdir -p /var/vcap/data/k3s-agent/kubelet/images
cp /var/vcap/packages/k3s-images/k3s-airgap-images-amd64.tar /var/vcap/data/k3s-agent/kubelet/images
mkdir -p /var/vcap/store/k3s-agent/agent/images
cp /var/vcap/packages/k3s-images/k3s-airgap-images-amd64.tar /var/vcap/store/k3s-agent/agent/images

echo 'done installing airgaped docker images for containerd'
exit 0
4 changes: 2 additions & 2 deletions jobs/k3s-server-airgaped-images/templates/bin/pre-start.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

#copy images to containerd expected location (datadir/images) for airgap start.
# see https://rancher.com/docs/k3s/latest/en/installation/airgap/
mkdir -p /var/vcap/data/k3s-server/kubelet/images
cp /var/vcap/packages/k3s-images/k3s-airgap-images-amd64.tar /var/vcap/data/k3s-server/kubelet/images
mkdir -p /var/vcap/store/k3s-server/agent/images
cp /var/vcap/packages/k3s-images/k3s-airgap-images-amd64.tar /var/vcap/store/k3s-server/agent/images

echo 'done installing airgaped docker images for containerd'
exit 0

0 comments on commit 39c44ce

Please sign in to comment.