fix: allow talos installation to complete

This commit is contained in:
eding 2026-07-21 23:16:42 +02:00
parent 64e9a6a7d9
commit afcc4bb389

View file

@ -90,7 +90,7 @@ func (r Runner) Run() error {
}
func waitForTalosReboot(dir string, cfg config.Config) error {
deadline := time.Now().Add(2 * time.Minute)
deadline := time.Now().Add(5 * time.Minute)
offline := false
for time.Now().Before(deadline) {
err := utils.RunCommandQuietInDir(dir, "talosctl", "get", "machinestatus", "--talosconfig=./clusterconfig/talosconfig", "--endpoints="+cfg.Talos.BootstrapEndpoint, "--nodes="+cfg.Talos.BootstrapNode)