Revision a8d5cb3c
Added by Lukas Zapletal over 7 years ago
app/models/host/managed.rb | ||
---|---|---|
def bmc_available?
|
||
ipmi = bmc_nic
|
||
return false if ipmi.nil?
|
||
ipmi.password.present? && ipmi.username.present? && ipmi.provider == 'IPMI'
|
||
(ipmi.password.present? && ipmi.username.present? && ipmi.provider == 'IPMI') || ipmi.provider == 'SSH'
|
||
end
|
||
|
||
def ipmi_boot(booting_device)
|
Also available in: Unified diff
Fixes #17006 - added SSH BMC provider