From a27adfc93df79df54d1ddcb80d2ac7a472d2056e Mon Sep 17 00:00:00 2001 From: Karim Naufal Date: Tue, 15 Feb 2022 21:47:24 +0100 Subject: [PATCH] fix huge bug in agent definition --- agents.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents.tf b/agents.tf index 1c6381d..9b107d3 100644 --- a/agents.tf +++ b/agents.tf @@ -81,7 +81,7 @@ resource "hcloud_server" "agents" { # first we disable automatic reboot (after transactional updates), and configure the reboot method as kured "rebootmgrctl set-strategy off && echo 'REBOOT_METHOD=kured' > /etc/transactional-update.conf", # then we start k3s agent and join the cluster - "systemctl enable k3s-server", + "systemctl enable k3s-agent", <<-EOT until systemctl status k3s-agent > /dev/null do