Skip to content

Commit dd01a98

Browse files
committed
Updated operation timeout to 24h. Yes, this is arbitrary and are looking to implement a better solution (#44)
1 parent e4f5081 commit dd01a98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

communicator/winrm/communicator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ func (c *Communicator) Start(rc *packer.RemoteCmd) error {
5454

5555
// Create a new shell process on the guest
5656
params := winrm.DefaultParameters()
57-
params.Timeout = iso8601.FormatDuration(time.Minute * 120)
57+
params.Timeout = iso8601.FormatDuration(time.Hour * 24)
5858
client, err := winrm.NewClientWithParameters(c.endpoint, c.user, c.password, params)
5959
if err != nil {
6060
return err

0 commit comments

Comments
 (0)