no waits
This commit is contained in:
@@ -193,7 +193,7 @@ resource "proxmox_virtual_environment_vm" "flatcar_template" {
|
||||
}
|
||||
|
||||
|
||||
boot_order = ["scsi0", "ide2"]
|
||||
boot_order = ["virtio0", "ide2"]
|
||||
|
||||
lifecycle {
|
||||
ignore_changes = [boot_order]
|
||||
@@ -213,7 +213,7 @@ resource "null_resource" "wait_for_cp1_api" {
|
||||
set -euo pipefail
|
||||
|
||||
deadline=$((SECONDS + 1800)) # 30 min
|
||||
echo "Waiting for Kubernetes API on $CP1_IP:6443 ..."
|
||||
echo "Waiting for Kubernetes API on $CP1:6443 ..."
|
||||
|
||||
until curl -kfsS "https://$CP1:6443/healthz" | grep -qx "ok"; do
|
||||
if [ $SECONDS -ge $deadline ]; then
|
||||
|
||||
Reference in New Issue
Block a user