diff --git a/app/models/mixins/supports_feature_mixin.rb b/app/models/mixins/supports_feature_mixin.rb index 139d5bba4e9..997d857ec97 100644 --- a/app/models/mixins/supports_feature_mixin.rb +++ b/app/models/mixins/supports_feature_mixin.rb @@ -108,6 +108,7 @@ module SupportsFeatureMixin :reconfigure_disks => 'Reconfigure Virtual Machines Disks', :reconfigure_disksize => 'Reconfigure Virtual Machines Disk Size', :reconfigure_network_adapters => 'Reconfigure Network Adapters', + :reconfigure_cdroms => 'Reconfigure Virtual Machines CD/DVDs', :refresh_network_interfaces => 'Refresh Network Interfaces for a Host', :refresh_new_target => 'Refresh non-existing record', :regions => 'Regions of a Provider', diff --git a/app/models/vm_reconfigure_task.rb b/app/models/vm_reconfigure_task.rb index 134b36b1c79..5cc7c573dd6 100644 --- a/app/models/vm_reconfigure_task.rb +++ b/app/models/vm_reconfigure_task.rb @@ -35,6 +35,8 @@ def self.get_description(req_obj) new_settings << "Resize Disks: #{req_obj.options[:disk_resize].length}" if req_obj.options[:disk_resize].present? new_settings << "Add Network Adapters: #{req_obj.options[:network_adapter_add].length}" if req_obj.options[:network_adapter_add].present? new_settings << "Remove Network Adapters: #{req_obj.options[:network_adapter_remove].length}" if req_obj.options[:network_adapter_remove].present? + new_settings << "Attach CD/DVDs: #{req_obj.options[:cdrom_connect].length}" if req_obj.options[:cdrom_connect].present? + new_settings << "Detach CD/DVDs: #{req_obj.options[:cdrom_disconnect].length}" if req_obj.options[:cdrom_disconnect].present? "#{request_class::TASK_DESCRIPTION} for: #{name} - #{new_settings.join(", ")}" end