fix huge bug in agent definition
This commit is contained in:
parent
037f03c50b
commit
a27adfc93d
@ -81,7 +81,7 @@ resource "hcloud_server" "agents" {
|
|||||||
# first we disable automatic reboot (after transactional updates), and configure the reboot method as kured
|
# 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",
|
"rebootmgrctl set-strategy off && echo 'REBOOT_METHOD=kured' > /etc/transactional-update.conf",
|
||||||
# then we start k3s agent and join the cluster
|
# then we start k3s agent and join the cluster
|
||||||
"systemctl enable k3s-server",
|
"systemctl enable k3s-agent",
|
||||||
<<-EOT
|
<<-EOT
|
||||||
until systemctl status k3s-agent > /dev/null
|
until systemctl status k3s-agent > /dev/null
|
||||||
do
|
do
|
||||||
|
Loading…
Reference in New Issue
Block a user