Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #27554 - Additional compute resource attrs for oVirt #440

Merged
merged 1 commit into from Aug 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 5 additions & 3 deletions doc/host_create.md
Expand Up @@ -240,9 +240,11 @@ compute_network # select one of available networks for a cluster

Available keys for `--volume`:
```
size_gb # volume size in GB, integer value
storage_domain # select one of available storage domains
bootable # boolean, only one volume can be bootable
size_gb # volume size in GB, integer value
storage_domain # select one of available storage domains
bootable # boolean, only one volume can be bootable
preallocate # boolean, set true to preallocate
wipe_after_delete # boolean, set true to wipe disk after delete
```

## Rackspace
Expand Down
4 changes: 3 additions & 1 deletion lib/hammer_cli_foreman/compute_resource/ovirt.rb
Expand Up @@ -32,7 +32,9 @@ def volume_attributes
[
['size_gb', _('Volume size in GB, integer value')],
['storage_domain', _('ID of storage domain')],
['bootable', _('Boolean, only one volume can be bootable')]
['bootable', _('Boolean, only one volume can be bootable')],
['preallocate', _('Boolean, set %s to preallocate') % 'true'],
['wipe_after_delete', _('Boolean, set %s to wipe disk after delete') % 'true']
]
end

Expand Down