mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Merge 291152b5b9 into be64be37a9
This commit is contained in:
commit
2395613551
1 changed files with 4 additions and 0 deletions
|
|
@ -48,6 +48,10 @@ module Vmpooler
|
||||||
)
|
)
|
||||||
begin
|
begin
|
||||||
Socket.getaddrinfo(vm, nil)
|
Socket.getaddrinfo(vm, nil)
|
||||||
|
|
||||||
|
Timeout::timeout(5) {
|
||||||
|
TCPSocket.new vm, 22
|
||||||
|
}
|
||||||
rescue
|
rescue
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue