diff --git a/agents.tf b/agents.tf index f83962f..9faed3b 100644 --- a/agents.tf +++ b/agents.tf @@ -44,7 +44,7 @@ resource "hcloud_server" "agents" { # Issue a reboot command and wait for the node to reboot provisioner "local-exec" { - command = "ssh ${local.ssh_args} root@${self.ipv4_address} '(sleep 2; reboot)&'; sleep 3" + command = "ssh ${local.ssh_args} root@${self.ipv4_address} '(sleep 2; reboot)&'; sleep 5" } provisioner "local-exec" { command = <<-EOT diff --git a/master.tf b/master.tf index 003d5dd..a0f695b 100644 --- a/master.tf +++ b/master.tf @@ -42,7 +42,7 @@ resource "hcloud_server" "first_control_plane" { # Issue a reboot command and wait for the node to reboot provisioner "local-exec" { - command = "ssh ${local.ssh_args} root@${self.ipv4_address} '(sleep 2; reboot)&'; sleep 3" + command = "ssh ${local.ssh_args} root@${self.ipv4_address} '(sleep 2; reboot)&'; sleep 5" } provisioner "local-exec" { command = <<-EOT diff --git a/servers.tf b/servers.tf index 7e918d9..99a076d 100644 --- a/servers.tf +++ b/servers.tf @@ -43,7 +43,7 @@ resource "hcloud_server" "control_planes" { # Issue a reboot command and wait for the node to reboot provisioner "local-exec" { - command = "ssh ${local.ssh_args} root@${self.ipv4_address} '(sleep 2; reboot)&'; sleep 3" + command = "ssh ${local.ssh_args} root@${self.ipv4_address} '(sleep 2; reboot)&'; sleep 5" } provisioner "local-exec" { command = <<-EOT