One file to rule them all

This commit is contained in:
mr
2026-01-08 21:15:34 +01:00
parent ec5c2972c3
commit 8098a86dae
982 changed files with 4169 additions and 60 deletions

View File

@@ -58,8 +58,9 @@ main_install() {
main_install_k3s() {
sudo /usr/local/bin/k3s-uninstall.sh | true
sudo rm -rf /etc/rancher /var/lib/rancher ~/.kube | true
sudo rm -rf /etc/rancher /var/lib/rancher | true
curl -sfL https://get.k3s.io | sh -s - --write-kubeconfig-mode 644
sudo cp/etc/rancher/k3s/k3s.yaml ~/.kube/config
sudo systemctl status k3s
}