Skip to content
This repository has been archived by the owner on Jul 3, 2024. It is now read-only.

Commit

Permalink
Fixes #21791 - use correct guest tools ISO for XenServer 7
Browse files Browse the repository at this point in the history
  • Loading branch information
rmdir authored and mmoll committed May 4, 2018
1 parent 5d4fd5e commit e8adaa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Lint/UselessAssignment:

# Offense count: 16
Metrics/AbcSize:
Max: 65
Max: 67

# Offense count: 2
# Configuration parameters: CountBlocks.
Expand Down
2 changes: 1 addition & 1 deletion app/models/foreman_xen/xenserver.rb
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ def create_vm_from_builtin(args)

if args[:xstools] == '1'
# Add xs-tools ISO to newly created VMs
dvd_vdi = client.vdis.find { |isovdi| isovdi.name == 'xs-tools.iso' }
dvd_vdi = client.vdis.find { |isovdi| isovdi.name == 'xs-tools.iso' || isovdi.name == 'guest-tools.iso' }
vbdconnectcd = {
'vdi' => dvd_vdi,
'vm' => vm.reference,
Expand Down

0 comments on commit e8adaa7

Please sign in to comment.