Skip to content

Commit

Permalink
Merge pull request #76 from mgmax/patch-1
Browse files Browse the repository at this point in the history
Fix boot timeout on slow hosts
  • Loading branch information
Windos committed Jun 17, 2024
2 parents ef0ef1f + c0e430b commit f42c54e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ Vagrant.configure("2") do |config|
config.winrm.username = "vagrant"
config.winrm.password = "vagrant"
config.winrm.port = 55985
# a long boot timeout is needed for slow host systems
config.vm.boot_timeout = 1800
# to avoid WinRM errors in the middle of booting, we ensure that (max_tries * retry_delay) > boot_timeout:
config.winrm.max_tries = 900
config.winrm.retry_delay = 2
# explicitly tell Vagrant the guest is Windows
config.vm.guest = :windows

Expand Down

0 comments on commit f42c54e

Please sign in to comment.