Project

General

Profile

« Previous | Next » 

Revision a8d5cb3c

Added by Lukas Zapletal over 7 years ago

Fixes #17006 - added SSH BMC provider

View differences:

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