Skip to content

Commit

Permalink
Merge pull request lima-vm#1625 from fyuan1316/hostagent-usernet-fail
Browse files Browse the repository at this point in the history
vz: Fix usernet sshLocalPort check failure for vz driver
  • Loading branch information
balajiv113 authored Jun 13, 2023
2 parents 2920eaa + 0850e3b commit 31b6a47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/networks/usernet/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ func (c *Client) UnExposeSSH(sshPort int) error {
}

func (c *Client) ResolveAndForwardSSH(vmMacAddr string, sshPort int) error {
timeout := time.After(1 * time.Minute)
timeout := time.After(2 * time.Minute)
ticker := time.NewTicker(500 * time.Millisecond)
for {
select {
Expand Down

0 comments on commit 31b6a47

Please sign in to comment.