Skip to content

Commit acef339

Browse files
authored
Merge pull request #1159 from kube-hetzner/fix/post_install_folder_bug
Fix missing mkdir for post_install folder to other control plane nodes
2 parents de6354c + 9cb8c45 commit acef339

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

control_planes.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,9 @@ resource "null_resource" "control_planes" {
174174
provisioner "remote-exec" {
175175
inline = [
176176
"systemctl start k3s 2> /dev/null",
177+
# prepare the needed directories
178+
"mkdir -p /var/post_install /var/user_kustomize",
179+
# wait for the server to be ready
177180
<<-EOT
178181
timeout 360 bash <<EOF
179182
until systemctl status k3s > /dev/null; do

0 commit comments

Comments
 (0)