Skip to content

Commit

Permalink
Set ssh_ping_timeout default to 5 minutes.
Browse files Browse the repository at this point in the history
Since Windows has to be rebooted when the hostname is
changed, provisioning may take longer than one minute.

Signed-Off-By: Johannes Thoma <[email protected]>
  • Loading branch information
johannesthoma committed Apr 20, 2023
1 parent bc8d6f2 commit 14066da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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", "")
Expand Down

0 comments on commit 14066da

Please sign in to comment.