1
0
mirror of https://github.com/rancher/os.git synced 2025-09-24 20:09:21 +00:00

Initial commit

This commit is contained in:
Darren Shepherd
2021-06-05 17:31:50 -07:00
commit 2b90d55b0d
30 changed files with 1201 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
if [ -e /etc/rancher/rke2 ]; then
if [ -z "$KUBECONFIG" ]; then
export KUBECONFIG=/etc/rancher/rke2/rke2.yaml
fi
fi
if [ -d /var/lib/rancher/rke2/bin ]; then
export PATH="${PATH}:/var/lib/rancher/rke2/bin"
fi
if [ -z "$CONTAINER_RUNTIME_ENDPOINT" ]; then
export CONTAINER_RUNTIME_ENDPOINT=unix:///var/run/k3s/containerd/containerd.sock
fi
if [ -z "$IMAGE_SERVICE_ENDPOINT" ]; then
export IMAGE_SERVICE_ENDPOINT=unix:///var/run/k3s/containerd/containerd.sock
fi