mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix for linode using public ip blocks in 192.*
This commit is contained in:
parent
ac1f61d16d
commit
d40c2c8096
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ module Fog
|
||||||
end
|
end
|
||||||
|
|
||||||
def public_ip_address
|
def public_ip_address
|
||||||
ips.find{|ip| ip.ip !~ /^192/}.ip
|
ips.find{|ip| ip.ip !~ /^192\.168\./}.ip
|
||||||
end
|
end
|
||||||
|
|
||||||
def disks
|
def disks
|
||||||
|
|
Loading…
Reference in a new issue