debug cp
This commit is contained in:
@@ -21,7 +21,9 @@ curl -sfL https://get.k3s.io | sh -
|
||||
|
||||
echo "📄 Setting kubeconfig..."
|
||||
mkdir -p ~/.kube
|
||||
cp ~/.kube/config ~/.kube/old_config | true
|
||||
if [ -f ~/.kube/config ]; then
|
||||
cp ~/.kube/config ~/.kube/old_config || true
|
||||
fi
|
||||
sudo cp /etc/rancher/k3s/k3s.yaml ~/.kube/config
|
||||
export KUBECONFIG=~/.kube/config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user