Revision 28b7dd9f
Added by Timo Goebel about 7 years ago
app/models/host/base.rb | ||
---|---|---|
scope :no_location, -> { rewhere(:location_id => nil) }
|
||
scope :no_organization, -> { rewhere(:organization_id => nil) }
|
||
|
||
delegate :ssh_authorized_keys, :to => :owner, :allow_nil => true
|
||
|
||
PRIMARY_INTERFACE_ATTRIBUTES = [:name, :ip, :ip6, :mac,
|
||
:subnet, :subnet_id, :subnet_name,
|
||
:subnet6, :subnet6_id, :subnet6_name,
|
Also available in: Unified diff
fixes #18476 - users have ssh keys