Skip to content

Commit 31b6a47

Browse files
authored
Merge pull request #1625 from fyuan1316/hostagent-usernet-fail
vz: Fix usernet sshLocalPort check failure for vz driver
2 parents 2920eaa + 0850e3b commit 31b6a47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/networks/usernet/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func (c *Client) UnExposeSSH(sshPort int) error {
2929
}
3030

3131
func (c *Client) ResolveAndForwardSSH(vmMacAddr string, sshPort int) error {
32-
timeout := time.After(1 * time.Minute)
32+
timeout := time.After(2 * time.Minute)
3333
ticker := time.NewTicker(500 * time.Millisecond)
3434
for {
3535
select {

0 commit comments

Comments
 (0)