Skip to content

Commit

Permalink
Sleeping before FirstLogin enablewinrm.ps1 seems to fix network issues
Browse files Browse the repository at this point in the history
  • Loading branch information
obilodeau committed Jul 12, 2017
1 parent 8023845 commit 599e033
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions malboxes/installconfig/windows7/enablewinrm.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# We need to wait for the network to come up before we can attempt to change its settings
Start-Sleep -s 30

# --------------------------------------------------------------------------------------------------------------------
# Enclosed section comes from the packer-windows project
# https://github.com/joefitzgerald/packer-windows/blob/a2b9d6fdd91a857d605fb1d7ec822f3fdfa71db4/scripts/fixnetwork.ps1
Expand Down
3 changes: 3 additions & 0 deletions malboxes/installconfig/windows7_64/enablewinrm.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# We need to wait for the network to come up before we can attempt to change its settings
Start-Sleep -s 30

# --------------------------------------------------------------------------------------------------------------------
# Enclosed section comes from the packer-windows project
# https://github.com/joefitzgerald/packer-windows/blob/a2b9d6fdd91a857d605fb1d7ec822f3fdfa71db4/scripts/fixnetwork.ps1
Expand Down

0 comments on commit 599e033

Please sign in to comment.