From 14066da19bfc631fa37882092bfa2b469b066981 Mon Sep 17 00:00:00 2001 From: Johannes Thoma Date: Thu, 20 Apr 2023 10:54:05 +0000 Subject: [PATCH] Set ssh_ping_timeout default to 5 minutes. Since Windows has to be rebooted when the hostname is changed, provisioning may take longer than one minute. Signed-Off-By: Johannes Thoma --- cmd/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/config.go b/cmd/config.go index 5e124d5..456f994 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -112,7 +112,7 @@ func initConfig() { viper.SetDefault("libvirt.static_dhcp", false) viper.SetDefault("libvirt.dnsmasq_options", []string{}) viper.SetDefault("libvirt.disk_cache", "") - viper.SetDefault("time.ssh_ping_count", 60) + viper.SetDefault("time.ssh_ping_count", 300) viper.SetDefault("time.ssh_ping_period", time.Second) viper.SetDefault("time.shutdown_timeout", 20*time.Second) viper.SetDefault("auth.user_public_key", "")