1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

added linode ssh support with proper public ip address

This commit is contained in:
Nicholas Ricketts 2011-10-05 17:49:02 -04:00
parent 2d4d3cc5b5
commit 9f3820da7e

View file

@ -14,7 +14,7 @@ module Fog
end
def public_ip_address
ips.last.ip
ips.select{|ip| ip.ip !~ /^192/}.first.ip
end
def username