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:
parent
3c38d42776
commit
544ae281eb
1 changed files with 5 additions and 1 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Reference in a new issue