Skip to content

Commit f098890

Browse files
authored
Merge pull request #846 from agrare/add_supports_capture
2 parents 4ddb6f1 + 39d5970 commit f098890

File tree

2 files changed

+3
-0
lines changed
  • app/models/manageiq/providers/vmware/infra_manager

2 files changed

+3
-0
lines changed

app/models/manageiq/providers/vmware/infra_manager/host.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ class ManageIQ::Providers::Vmware::InfraManager::Host < ::Host
22
include ManageIQ::Providers::Vmware::InfraManager::VimConnectMixin
33
include ManageIQ::Providers::Vmware::InfraManager::EmsRefObjMixin
44

5+
supports :capture
6+
57
# overrides base start to support "standby" powerstate
68
supports :start do
79
if !supports?(:ipmi)

app/models/manageiq/providers/vmware/infra_manager/vm.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ class ManageIQ::Providers::Vmware::InfraManager::Vm < ManageIQ::Providers::Infra
66
include_concern 'Reconfigure'
77
include_concern 'Scanning'
88

9+
supports :capture
910
supports :clone do
1011
unsupported_reason_add(:clone, _('Clone operation is not supported')) if blank? || orphaned? || archived?
1112
end

0 commit comments

Comments
 (0)