From fd3d64a5a6aeb0978ec1eb5f8d7fcd77143d9e35 Mon Sep 17 00:00:00 2001
From: Patrick Spek
Date: Mon, 31 Jul 2023 12:44:29 +0200
Subject: Make the k3s-master set up a HA variant
---
playbook.bash | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/playbook.bash b/playbook.bash
index 74f11ec..f9ed88d 100644
--- a/playbook.bash
+++ b/playbook.bash
@@ -31,7 +31,7 @@ playbook_add() {
EOF
info "$BASHTARD_PLAYBOOK" "Installing k3s"
- curl -sfL https://get.k3s.io | sh - # I hate this
+ curl -sfL https://get.k3s.io | sh -s - server --cluster-init # I hate this
notice "$BASHTARD_PLAYBOOK" "Creating data directories"
mkdir -pv -- "$(playbook_path "data")/manifests.d"
--
cgit v1.1