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

[Libvirt] if transport is empty, ssh can't be enabled

This commit is contained in:
Patrick Debois 2011-09-12 17:52:20 +03:00
parent 3c38d42776
commit 544ae281eb

View file

@ -38,7 +38,11 @@ module Fog
end
def ssh_enabled?
transport.include?("ssh")
if remote?
return transport.include?("ssh")
else
return false
end
end
def remote?