Skip to content

Commit

Permalink
Merge pull request #1159 from kube-hetzner/fix/post_install_folder_bug
Browse files Browse the repository at this point in the history
Fix missing mkdir for post_install folder to other control plane nodes
  • Loading branch information
mysticaltech authored Jan 7, 2024
2 parents de6354c + 9cb8c45 commit acef339
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions control_planes.tf
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,9 @@ resource "null_resource" "control_planes" {
provisioner "remote-exec" {
inline = [
"systemctl start k3s 2> /dev/null",
# prepare the needed directories
"mkdir -p /var/post_install /var/user_kustomize",
# wait for the server to be ready
<<-EOT
timeout 360 bash <<EOF
until systemctl status k3s > /dev/null; do
Expand Down

0 comments on commit acef339

Please sign in to comment.