18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# File 'lib/hammer_cli_foreman/compute_resources/vmware/host_help_extenstion.rb', line 18
def host_create_help(h)
h.section '--compute-attributes' do |h|
h.list([
['cpus', _("Cpu count")],
['corespersocket', _("Number of cores per socket (applicable to hardware versions < 10 only)")],
['memory_mb', _("Integer number, amount of memory in MB")],
['cluster', _("Cluster id from VMware")],
['path', _("Path to folder")],
['guest_id', _("Guest OS id form VMware")],
['scsi_controller_type', _("Id of the controller from VMware")],
['hardware_version', _("Hardware version id from VMware")],
['start', _("Must be a 1 or 0, whether to start the machine or not")]
])
end
h.section '--interface' do |h|
h.list([
['compute_type', interface_type_description(h)],
['compute_network', _('Network id from VMware')]
])
end
h.section '--volume' do |h|
h.list([
['name'],
['datastore', _('Datastore id from VMware')],
['size_gb', _('Integer number, volume size in GB')],
['thin', 'true/false'],
['eager_zero', 'true/false']
])
end
end
|