Skip to content

Commit

Permalink
Refs #36999 - Drop CPU mode option for libvirt
Browse files Browse the repository at this point in the history
This parameter is dropped from Foreman 3.12.
  • Loading branch information
ekohl authored and ehelms committed Jul 30, 2024
1 parent 02a38bb commit aebda0f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion doc/host_create.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@ Available keys for `--compute-attributes`:
```
cpus # number of CPUs
memory # string, amount of memory, value in bytes
cpu_mode # possible values: default, host-model, host-passthrough
start # Must be a 1 or 0, whether to start the machine or not
```

Expand Down
1 change: 0 additions & 1 deletion lib/hammer_cli_foreman/compute_resource/libvirt.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ def compute_attributes
[
['cpus', _('Number of CPUs'), { bold: true }],
['memory', _('String, amount of memory, value in bytes'), { bold: true }],
['cpu_mode', _('Possible values: %{modes}') % { modes: 'default, host-model, host-passthrough' }],
['boot_order', _('Device names to specify the boot order')]
]
end
Expand Down

0 comments on commit aebda0f

Please sign in to comment.