diff --git a/app/models/manageiq/providers/infra_manager.rb b/app/models/manageiq/providers/infra_manager.rb index 69cac267f73..1b9af987714 100644 --- a/app/models/manageiq/providers/infra_manager.rb +++ b/app/models/manageiq/providers/infra_manager.rb @@ -41,5 +41,9 @@ def validate_authentication_status def validate_import_vm false end + + def clusterless_hosts + hosts.where(:ems_cluster => nil) + end end end