foreman_fog_proxmox 0.14.0 → 0.14.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +42 -29
  3. data/app/controllers/concerns/foreman_fog_proxmox/compute_resources_vms_controller.rb +17 -7
  4. data/app/controllers/concerns/foreman_fog_proxmox/controller/parameters/compute_resource.rb +1 -1
  5. data/app/controllers/concerns/foreman_fog_proxmox/hosts_controller.rb +8 -3
  6. data/app/controllers/foreman_fog_proxmox/compute_resources_controller.rb +6 -3
  7. data/app/helpers/proxmox_compute_controllers_helper.rb +2 -1
  8. data/app/helpers/proxmox_compute_resources_helper.rb +3 -3
  9. data/app/helpers/proxmox_compute_resources_vms_helper.rb +16 -7
  10. data/app/helpers/proxmox_form_helper.rb +9 -5
  11. data/app/helpers/proxmox_vm_config_helper.rb +16 -25
  12. data/app/helpers/proxmox_vm_interfaces_helper.rb +19 -6
  13. data/app/helpers/proxmox_vm_os_template_helper.rb +2 -5
  14. data/app/helpers/proxmox_vm_uuid_helper.rb +1 -1
  15. data/app/helpers/proxmox_vm_volumes_helper.rb +22 -25
  16. data/app/models/concerns/fog_extensions/proxmox/node.rb +2 -2
  17. data/app/models/concerns/fog_extensions/proxmox/server.rb +9 -5
  18. data/app/models/concerns/host_ext/proxmox/associator.rb +3 -2
  19. data/app/models/concerns/host_ext/proxmox/for_vm.rb +1 -1
  20. data/app/models/concerns/host_ext/proxmox/interfaces.rb +7 -3
  21. data/app/models/concerns/orchestration/proxmox/compute.rb +11 -4
  22. data/app/models/foreman_fog_proxmox/options_select.rb +1 -3
  23. data/app/models/foreman_fog_proxmox/proxmox.rb +12 -10
  24. data/app/models/foreman_fog_proxmox/proxmox_compute_attributes.rb +15 -3
  25. data/app/models/foreman_fog_proxmox/proxmox_connection.rb +6 -2
  26. data/app/models/foreman_fog_proxmox/proxmox_console.rb +3 -1
  27. data/app/models/foreman_fog_proxmox/proxmox_images.rb +2 -2
  28. data/app/models/foreman_fog_proxmox/proxmox_interfaces.rb +28 -6
  29. data/app/models/foreman_fog_proxmox/proxmox_operating_systems.rb +6 -1
  30. data/app/models/foreman_fog_proxmox/proxmox_pools.rb +4 -4
  31. data/app/models/foreman_fog_proxmox/proxmox_version.rb +7 -3
  32. data/app/models/foreman_fog_proxmox/proxmox_vm_commands.rb +9 -7
  33. data/app/models/foreman_fog_proxmox/proxmox_vm_new.rb +37 -24
  34. data/app/models/foreman_fog_proxmox/proxmox_vm_queries.rb +4 -5
  35. data/app/models/foreman_fog_proxmox/proxmox_volumes.rb +23 -12
  36. data/app/models/foreman_fog_proxmox/vms.rb +2 -2
  37. data/app/views/compute_resources_vms/form/proxmox/container/_config.html.erb +2 -2
  38. data/app/views/compute_resources_vms/form/proxmox/container/_volume_mp.html.erb +1 -1
  39. data/app/views/compute_resources_vms/form/proxmox/container/_volume_rootfs.html.erb +1 -1
  40. data/app/views/compute_resources_vms/form/proxmox/server/_config.html.erb +3 -3
  41. data/app/views/compute_resources_vms/form/proxmox/server/_volume_hard_disk.html.erb +1 -1
  42. data/config/routes.rb +8 -4
  43. data/db/migrate/20210312105013_update_proxmox_uuid_host.rb +1 -2
  44. data/lib/foreman_fog_proxmox/engine.rb +4 -3
  45. data/lib/foreman_fog_proxmox/semver.rb +1 -4
  46. data/lib/foreman_fog_proxmox/version.rb +1 -1
  47. data/locale/en/foreman_fog_proxmox.po +140 -47
  48. data/locale/foreman_fog_proxmox.pot +300 -137
  49. data/locale/fr/foreman_fog_proxmox.po +145 -52
  50. data/test/factories/foreman_fog_proxmox/proxmox_container_mock_factory.rb +6 -7
  51. data/test/factories/foreman_fog_proxmox/proxmox_server_mock_factory.rb +6 -7
  52. data/test/functional/compute_resources_controller_test.rb +4 -2
  53. data/test/test_plugin_helper.rb +12 -7
  54. data/test/unit/foreman_fog_proxmox/helpers/proxmox_container_helper_test.rb +38 -47
  55. data/test/unit/foreman_fog_proxmox/helpers/proxmox_server_helper_test.rb +49 -34
  56. data/test/unit/foreman_fog_proxmox/helpers/proxmox_vm_helper_test.rb +29 -65
  57. data/test/unit/foreman_fog_proxmox/helpers/proxmox_vm_volumes_helper_test.rb +3 -3
  58. data/test/unit/foreman_fog_proxmox/proxmox_compute_attributes_test.rb +22 -13
  59. data/test/unit/foreman_fog_proxmox/proxmox_interfaces_test.rb +18 -9
  60. data/test/unit/foreman_fog_proxmox/proxmox_vm_commands_container_test.rb +45 -35
  61. data/test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_create_test.rb +0 -4
  62. data/test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_cdrom_test.rb +34 -22
  63. data/test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_cloudinit_test.rb +20 -14
  64. data/test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_hard_disk_test.rb +76 -54
  65. data/test/unit/foreman_fog_proxmox/proxmox_vm_commands_server_update_test.rb +26 -15
  66. data/test/unit/foreman_fog_proxmox/proxmox_vm_queries_test.rb +1 -1
  67. data/test/unit/foreman_fog_proxmox/semver_test.rb +2 -1
  68. metadata +35 -21
@@ -8,8 +8,8 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: foreman_fog_proxmox 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2020-05-11 16:25+0200\n"
12
- "PO-Revision-Date: 2020-05-11 16:25+0200\n"
11
+ "POT-Creation-Date: 2022-12-07 18:29+0100\n"
12
+ "PO-Revision-Date: 2022-12-07 18:29+0100\n"
13
13
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
14
  "Language-Team: LANGUAGE <LL@li.org>\n"
15
15
  "Language: \n"
@@ -18,131 +18,180 @@ msgstr ""
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
19
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20
20
 
21
- #: ../app/helpers/node_dashboard_helper.rb:33
22
- msgid "Time"
21
+ #:
22
+ #: ../app/controllers/concerns/foreman_fog_proxmox/compute_resources_vms_controller.rb:29
23
+ msgid "VM already associated with a host"
23
24
  msgstr ""
24
25
 
25
- #: ../app/helpers/node_dashboard_helper.rb:33
26
- msgid "Average load (x100)"
26
+ #:
27
+ #: ../app/controllers/concerns/foreman_fog_proxmox/compute_resources_vms_controller.rb:37
28
+ msgid "VM associated to host %s"
27
29
  msgstr ""
28
30
 
29
- #: ../app/helpers/proxmox_form_helper.rb:35
30
- msgid "Change the password"
31
+ #:
32
+ #: ../app/controllers/concerns/foreman_fog_proxmox/compute_resources_vms_controller.rb:40
33
+ msgid "No host found to associate this VM with"
31
34
  msgstr ""
32
35
 
33
- #: ../app/models/concerns/orchestration/proxmox/compute.rb:30
34
- msgid "Failed to update a compute %<compute_resource>s instance %<name>s: %<e>s"
36
+ #:
37
+ #: ../app/controllers/concerns/foreman_fog_proxmox/compute_resources_vms_controller.rb:60
38
+ msgid "Failed to set console: %s"
35
39
  msgstr ""
36
40
 
37
- #: ../app/models/concerns/orchestration/proxmox/compute.rb:38
38
- msgid "Failed to undo update compute %<compute_resource>s instance %<name>s: %<e>s"
41
+ #:
42
+ #: ../app/controllers/concerns/foreman_fog_proxmox/compute_resources_vms_controller.rb:74
43
+ msgid "%<vm>s is now %<vm_state>s"
39
44
  msgstr ""
40
45
 
41
- #: ../app/models/foreman_fog_proxmox/proxmox.rb:87
42
- msgid "Unable to store X509 certificates"
46
+ #:
47
+ #: ../app/controllers/concerns/foreman_fog_proxmox/compute_resources_vms_controller.rb:76
48
+ msgid "failed to %<action>s %<vm>s"
43
49
  msgstr ""
44
50
 
45
- #: ../app/models/foreman_fog_proxmox/proxmox.rb:112
46
- msgid "Failed retrieving proxmox compute client caused by %<e>s"
51
+ #:
52
+ #: ../app/controllers/concerns/foreman_fog_proxmox/compute_resources_vms_controller.rb:83
53
+ msgid "Error - %<message>s"
47
54
  msgstr ""
48
55
 
49
- #: ../app/models/foreman_fog_proxmox/proxmox.rb:119
50
- msgid "Failed retrieving proxmox identity client caused by %<e>s"
56
+ #: ../app/helpers/node_dashboard_helper.rb:33
57
+ msgid "Time"
51
58
  msgstr ""
52
59
 
53
- #: ../app/models/foreman_fog_proxmox/proxmox.rb:126
54
- msgid "Failed retrieving proxmox network client caused by %<e>s"
60
+ #: ../app/helpers/node_dashboard_helper.rb:33
61
+ msgid "Average load (x100)"
55
62
  msgstr ""
56
63
 
57
- #: ../app/models/foreman_fog_proxmox/proxmox_compute_attributes.rb:31
58
- msgid "Operating system family %<type>s is not consistent with %<ostype>s"
64
+ #: ../app/helpers/proxmox_compute_resources_vms_helper.rb:31
65
+ msgid "Host"
59
66
  msgstr ""
60
67
 
61
- #: ../app/models/foreman_fog_proxmox/proxmox_console.rb:37
62
- msgid "%<s>s console is not supported at this time"
68
+ #: ../app/helpers/proxmox_compute_resources_vms_helper.rb:45
69
+ msgid "Associate VM"
63
70
  msgstr ""
64
71
 
65
- #: ../app/models/foreman_fog_proxmox/proxmox_images.rb:51
66
- msgid "create_vm(): clone %<image_id>s in %<vmid>s"
72
+ #: ../app/helpers/proxmox_compute_resources_vms_helper.rb:53
73
+ msgid "Associate VM to a Foreman host"
67
74
  msgstr ""
68
75
 
69
- #: ../app/models/foreman_fog_proxmox/proxmox_pools.rb:28
70
- msgid "pool_owner(%<vmid>s)"
76
+ #: ../app/helpers/proxmox_compute_resources_vms_helper.rb:64
77
+ msgid "Import as managed Host"
71
78
  msgstr ""
72
79
 
73
- #: ../app/models/foreman_fog_proxmox/proxmox_pools.rb:31
74
- msgid "found vm: %<vmid>s member of pool: %<poolid>s"
80
+ #: ../app/helpers/proxmox_compute_resources_vms_helper.rb:73
81
+ msgid "Import as unmanaged Host"
75
82
  msgstr ""
76
83
 
77
- #: ../app/models/foreman_fog_proxmox/proxmox_pools.rb:36
78
- msgid "add_vm_to_pool(%<poolid>s, %<vmid>s)"
84
+ #: ../app/helpers/proxmox_compute_resources_vms_helper.rb:89
85
+ msgid "Console"
79
86
  msgstr ""
80
87
 
81
- #: ../app/models/foreman_fog_proxmox/proxmox_pools.rb:42
82
- msgid "remove_vm_from_pool(%<poolid>s, %<vmid>s)"
88
+ #: ../app/helpers/proxmox_form_helper.rb:36
89
+ msgid "Change the password"
83
90
  msgstr ""
84
91
 
85
- #: ../app/models/foreman_fog_proxmox/proxmox_version.rb:25
86
- msgid "Proxmox compute resource version is %<version>s"
92
+ #: ../app/models/concerns/fog_extensions/proxmox/server.rb:62
93
+ msgid "Type %<type>s, node %<node>s, %<cpus>s CPUs and %<memory>s MB memory"
87
94
  msgstr ""
88
95
 
89
- #: ../app/models/foreman_fog_proxmox/proxmox_version.rb:26
90
- msgid "Proxmox version %<version>s is not semver suitable"
96
+ #: ../app/models/concerns/orchestration/proxmox/compute.rb:35
97
+ msgid "Failed to update a compute %<compute_resource>s instance %<name>s: %<e>s"
91
98
  msgstr ""
92
99
 
93
- #: ../app/models/foreman_fog_proxmox/proxmox_vm_commands.rb:35
94
- msgid "invalid vmid=%<vmid>s"
100
+ #: ../app/models/concerns/orchestration/proxmox/compute.rb:48
101
+ msgid "Failed to undo update compute %<compute_resource>s instance %<name>s: %<e>s"
95
102
  msgstr ""
96
103
 
97
- #: ../app/models/foreman_fog_proxmox/proxmox_vm_commands.rb:54
98
- msgid "failed to create vm: %<e>s"
104
+ #: ../app/models/concerns/orchestration/proxmox/compute.rb:90
105
+ msgid "Failed to acquire IP addresses from compute resource for %<name>s"
99
106
  msgstr ""
100
107
 
101
- #: ../app/models/foreman_fog_proxmox/proxmox_vm_new.rb:152
102
- msgid "new_vm() vm.config=%<config>s"
108
+ #: ../app/models/concerns/orchestration/proxmox/compute.rb:103
109
+ msgid "failed to save %<name>s"
103
110
  msgstr ""
104
111
 
105
- #: ../app/models/foreman_fog_proxmox/proxmox_vm_new.rb:163
106
- msgid "new_container_vm() vm.config=%<config>s"
112
+ #: ../app/models/foreman_fog_proxmox/proxmox.rb:92
113
+ msgid "Unable to store X509 certificates"
107
114
  msgstr ""
108
115
 
109
- #: ../app/models/foreman_fog_proxmox/proxmox_vm_new.rb:174
110
- msgid "new_server_vm() vm.config=%<config>s"
116
+ #: ../app/models/foreman_fog_proxmox/proxmox_compute_attributes.rb:32
117
+ msgid "Operating system family %<type>s is not consistent with %<ostype>s"
111
118
  msgstr ""
112
119
 
113
- #: ../app/models/foreman_fog_proxmox/proxmox_vm_queries.rb:71
120
+ #: ../app/models/foreman_fog_proxmox/proxmox_console.rb:39
121
+ msgid "%<s>s console is not supported at this time"
122
+ msgstr ""
123
+
124
+ #: ../app/models/foreman_fog_proxmox/proxmox_version.rb:28
125
+ msgid "Proxmox version %<version>s is not semver suitable"
126
+ msgstr ""
127
+
128
+ #: ../app/models/foreman_fog_proxmox/proxmox_vm_commands.rb:39
129
+ msgid "invalid vmid=%<vmid>s"
130
+ msgstr ""
131
+
132
+ #: ../app/models/foreman_fog_proxmox/proxmox_vm_queries.rb:79
114
133
  msgid "Failed retrieving proxmox server vm by vmid=%<vmid>s"
115
134
  msgstr ""
116
135
 
117
- #: ../app/models/foreman_fog_proxmox/proxmox_volumes.rb:42
136
+ #: ../app/models/foreman_fog_proxmox/proxmox_volumes.rb:91
118
137
  msgid "Unable to shrink %<id>s size. Proxmox allows only increasing size."
119
138
  msgstr ""
120
139
 
121
140
  #: ../app/views/compute_resources/form/_proxmox.html.erb:8
122
- msgid "Renew expired token ?"
141
+ #: ../app/views/compute_resources/show/_proxmox.html.erb:12
142
+ msgid "Authentication method"
123
143
  msgstr ""
124
144
 
125
- #: ../app/views/compute_resources/form/_proxmox.html.erb:9
126
- msgid "e.g. https://127.0.0.1:8006/api2/json"
145
+ #: ../app/views/compute_resources/form/_proxmox.html.erb:8
146
+ #: ../app/views/compute_resources/form/_proxmox.html.erb:21
147
+ msgid "Click Test connection button before changing it"
127
148
  msgstr ""
128
149
 
129
150
  #: ../app/views/compute_resources/form/_proxmox.html.erb:9
130
- msgid "Test failed"
151
+ msgid "Common fields"
131
152
  msgstr ""
132
153
 
133
154
  #: ../app/views/compute_resources/form/_proxmox.html.erb:10
155
+ msgid "e.g. https://127.0.0.1:8006/api2/json"
156
+ msgstr ""
157
+
158
+ #: ../app/views/compute_resources/form/_proxmox.html.erb:11
134
159
  msgid "e.g. root@pam"
135
160
  msgstr ""
136
161
 
137
- #: ../app/views/compute_resources/form/_proxmox.html.erb:12
162
+ #: ../app/views/compute_resources/form/_proxmox.html.erb:13
163
+ msgid "User token fields"
164
+ msgstr ""
165
+
166
+ #: ../app/views/compute_resources/form/_proxmox.html.erb:14
167
+ msgid "User token id"
168
+ msgstr ""
169
+
170
+ #: ../app/views/compute_resources/form/_proxmox.html.erb:15
171
+ msgid "User token value"
172
+ msgstr ""
173
+
174
+ #: ../app/views/compute_resources/form/_proxmox.html.erb:15
175
+ msgid "Click Test connection button to check token"
176
+ msgstr ""
177
+
178
+ #: ../app/views/compute_resources/form/_proxmox.html.erb:17
179
+ msgid "Access ticket fields"
180
+ msgstr ""
181
+
182
+ #: ../app/views/compute_resources/form/_proxmox.html.erb:20
183
+ msgid "SSL fields"
184
+ msgstr ""
185
+
186
+ #: ../app/views/compute_resources/form/_proxmox.html.erb:21
138
187
  msgid "SSL verify peer"
139
188
  msgstr ""
140
189
 
141
- #: ../app/views/compute_resources/form/_proxmox.html.erb:13
190
+ #: ../app/views/compute_resources/form/_proxmox.html.erb:22
142
191
  msgid "X509 Certification Authorities"
143
192
  msgstr ""
144
193
 
145
- #: ../app/views/compute_resources/form/_proxmox.html.erb:14
194
+ #: ../app/views/compute_resources/form/_proxmox.html.erb:23
146
195
  msgid ""
147
196
  "Optionally provide a CA, or a correctly ordered CA chain. If left blank, disab"
148
197
  "le ssl_verify_peer."
@@ -156,12 +205,8 @@ msgstr ""
156
205
  msgid "Version"
157
206
  msgstr ""
158
207
 
159
- #: ../app/views/compute_resources/show/_proxmox.html.erb:12
160
- msgid "Token has expired?"
161
- msgstr ""
162
-
163
208
  #: ../app/views/compute_resources/show/_proxmox.html.erb:16
164
- msgid "Token expires on"
209
+ msgid "User token expires"
165
210
  msgstr ""
166
211
 
167
212
  #: ../app/views/compute_resources/show/_proxmox.html.erb:20
@@ -177,32 +222,88 @@ msgid "remove network interface"
177
222
  msgstr ""
178
223
 
179
224
  #:
180
- #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:12
225
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:15
226
+ msgid "Add Hard Disk"
227
+ msgstr ""
228
+
229
+ #:
230
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:15
231
+ msgid "add new hard disk"
232
+ msgstr ""
233
+
234
+ #:
235
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:16
236
+ msgid "Add CD-ROM"
237
+ msgstr ""
238
+
239
+ #:
240
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:16
241
+ msgid "add new cd-rom"
242
+ msgstr ""
243
+
244
+ #:
245
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:17
246
+ msgid "Add Cloud-init"
247
+ msgstr ""
248
+
249
+ #:
250
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:17
251
+ msgid "add new cloud-init"
252
+ msgstr ""
253
+
254
+ #:
181
255
  #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:18
182
- #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:26
256
+ msgid "Add Mount Point"
257
+ msgstr ""
258
+
259
+ #:
260
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:18
261
+ msgid "add new mount point"
262
+ msgstr ""
263
+
264
+ #:
265
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:24
266
+ msgid "remove Hard disk"
267
+ msgstr ""
268
+
269
+ #:
183
270
  #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:30
184
- #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:34
185
- #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:45
271
+ msgid "remove CDROM"
272
+ msgstr ""
273
+
274
+ #:
275
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:36
276
+ msgid "remove Cloud-init"
277
+ msgstr ""
278
+
279
+ #:
280
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:42
281
+ msgid "remove mount point"
282
+ msgstr ""
283
+
284
+ #:
285
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:47
186
286
  #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:49
287
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:51
288
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:53
289
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:55
290
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:63
291
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:67
187
292
  msgid "remove storage volume"
188
293
  msgstr ""
189
294
 
190
295
  #:
191
- #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:39
192
- #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:40
193
- #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:53
296
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:71
194
297
  msgid "Add Volume"
195
298
  msgstr ""
196
299
 
197
300
  #:
198
- #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:39
199
- #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:40
200
- #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:53
301
+ #: ../app/views/compute_resources_vms/form/proxmox/_add_vm_type_to_volumes_edit.html.erb:71
201
302
  msgid "add new storage volume"
202
303
  msgstr ""
203
304
 
204
- #: ../app/views/compute_resources_vms/form/proxmox/_base.html.erb:6
205
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:18
305
+ #: ../app/views/compute_resources_vms/form/proxmox/_base.html.erb:5
306
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:19
206
307
  #: ../app/views/compute_resources_vms/index/_proxmox.html.erb:8
207
308
  msgid "Type"
208
309
  msgstr ""
@@ -229,7 +330,8 @@ msgid "Start after creation?"
229
330
  msgstr ""
230
331
 
231
332
  #: ../app/views/compute_resources_vms/form/proxmox/_general.html.erb:19
232
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:36
333
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_cdrom.html.erb:13
334
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_cdrom.html.erb:15
233
335
  msgid "Image"
234
336
  msgstr ""
235
337
 
@@ -247,7 +349,7 @@ msgstr ""
247
349
  #: ../app/views/compute_resources_vms/form/proxmox/container/_advanced.html.erb:6
248
350
  #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:5
249
351
  #: ../app/views/compute_resources_vms/form/proxmox/server/_advanced.html.erb:6
250
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:7
352
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:8
251
353
  msgid "Main option"
252
354
  msgid_plural "Main options"
253
355
  msgstr[0] ""
@@ -257,7 +359,6 @@ msgstr[1] ""
257
359
  #: ../app/views/compute_resources_vms/form/proxmox/container/_advanced.html.erb:8
258
360
  #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:9
259
361
  #: ../app/views/compute_resources_vms/form/proxmox/server/_advanced.html.erb:8
260
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:17
261
362
  msgid "CPU"
262
363
  msgstr ""
263
364
 
@@ -266,8 +367,8 @@ msgstr ""
266
367
  #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:15
267
368
  #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:16
268
369
  #: ../app/views/compute_resources_vms/form/proxmox/server/_advanced.html.erb:10
269
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:28
270
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:29
370
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:32
371
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:33
271
372
  #: ../app/views/compute_resources_vms/index/_proxmox.html.erb:10
272
373
  msgid "Memory"
273
374
  msgstr ""
@@ -280,17 +381,17 @@ msgstr ""
280
381
 
281
382
  #:
282
383
  #: ../app/views/compute_resources_vms/form/proxmox/container/_advanced.html.erb:14
283
- #: ../app/views/compute_resources_vms/form/proxmox/server/_advanced.html.erb:14
384
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_advanced.html.erb:12
284
385
  msgid "OS"
285
386
  msgstr ""
286
387
 
287
388
  #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:6
288
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:8
389
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:9
289
390
  msgid "Description"
290
391
  msgstr ""
291
392
 
292
393
  #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:7
293
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:10
394
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:11
294
395
  msgid "Start at boot"
295
396
  msgstr ""
296
397
 
@@ -301,19 +402,19 @@ msgstr ""
301
402
 
302
403
  #:
303
404
  #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:11
304
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:20
405
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:21
305
406
  msgid "Cores"
306
407
  msgstr ""
307
408
 
308
409
  #:
309
410
  #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:12
310
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:22
411
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:23
311
412
  msgid "CPU limit"
312
413
  msgstr ""
313
414
 
314
415
  #:
315
416
  #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:13
316
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:23
417
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:24
317
418
  msgid "CPU units"
318
419
  msgstr ""
319
420
 
@@ -339,13 +440,13 @@ msgstr ""
339
440
 
340
441
  #:
341
442
  #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:24
342
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:42
443
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:37
343
444
  msgid "Operating System"
344
445
  msgstr ""
345
446
 
346
447
  #:
347
448
  #: ../app/views/compute_resources_vms/form/proxmox/container/_config.html.erb:25
348
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:43
449
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:38
349
450
  msgid "OS type"
350
451
  msgstr ""
351
452
 
@@ -375,12 +476,29 @@ msgstr ""
375
476
  msgid "Nic"
376
477
  msgstr ""
377
478
 
479
+ #:
480
+ #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:7
481
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_network.html.erb:7
482
+ msgid "Identifier"
483
+ msgstr ""
484
+
485
+ #:
486
+ #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:7
487
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_network.html.erb:7
488
+ msgid "net[n] with n integer >= 0, e.g. net0"
489
+ msgstr ""
490
+
378
491
  #:
379
492
  #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:8
380
493
  #: ../app/views/compute_resources_vms/index/_proxmox.html.erb:6
381
494
  msgid "Name"
382
495
  msgstr ""
383
496
 
497
+ #:
498
+ #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:8
499
+ msgid "eth[n] with n integer >= 0, e.g. eth0"
500
+ msgstr ""
501
+
384
502
  #:
385
503
  #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:9
386
504
  msgid "DHCP IPv4"
@@ -388,7 +506,12 @@ msgstr ""
388
506
 
389
507
  #:
390
508
  #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:10
391
- msgid "CIDR IPv4 prefix"
509
+ msgid "CIDR IPv4"
510
+ msgstr ""
511
+
512
+ #:
513
+ #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:10
514
+ msgid "integer within [0..32]"
392
515
  msgstr ""
393
516
 
394
517
  #:
@@ -403,7 +526,12 @@ msgstr ""
403
526
 
404
527
  #:
405
528
  #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:13
406
- msgid "CIDR IPv6 prefix"
529
+ msgid "CIDR IPv6"
530
+ msgstr ""
531
+
532
+ #:
533
+ #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:13
534
+ msgid "integer within [0..128]"
407
535
  msgstr ""
408
536
 
409
537
  #:
@@ -425,6 +553,12 @@ msgstr ""
425
553
 
426
554
  #:
427
555
  #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:17
556
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_network.html.erb:13
557
+ msgid "Firewall"
558
+ msgstr ""
559
+
560
+ #:
561
+ #: ../app/views/compute_resources_vms/form/proxmox/container/_network.html.erb:18
428
562
  #: ../app/views/compute_resources_vms/form/proxmox/server/_network.html.erb:9
429
563
  msgid "Bridge"
430
564
  msgstr ""
@@ -437,8 +571,9 @@ msgstr ""
437
571
  #:
438
572
  #: ../app/views/compute_resources_vms/form/proxmox/container/_volume_mp.html.erb:8
439
573
  #: ../app/views/compute_resources_vms/form/proxmox/container/_volume_rootfs.html.erb:7
440
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:38
441
- #: ../app/views/compute_resources_vms/form/proxmox/server/_volume.html.erb:8
574
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_cdrom.html.erb:16
575
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_cloud_init.html.erb:11
576
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_hard_disk.html.erb:12
442
577
  msgid "Storage"
443
578
  msgstr ""
444
579
 
@@ -454,14 +589,15 @@ msgstr ""
454
589
 
455
590
  #:
456
591
  #: ../app/views/compute_resources_vms/form/proxmox/container/_volume_mp.html.erb:10
457
- #: ../app/views/compute_resources_vms/form/proxmox/server/_volume.html.erb:10
592
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_cloud_init.html.erb:13
593
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_hard_disk.html.erb:14
458
594
  msgid "Device"
459
595
  msgstr ""
460
596
 
461
597
  #:
462
598
  #: ../app/views/compute_resources_vms/form/proxmox/container/_volume_mp.html.erb:11
463
599
  #: ../app/views/compute_resources_vms/form/proxmox/container/_volume_rootfs.html.erb:8
464
- #: ../app/views/compute_resources_vms/form/proxmox/server/_volume.html.erb:12
600
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_hard_disk.html.erb:16
465
601
  msgid "Size"
466
602
  msgstr ""
467
603
 
@@ -470,32 +606,24 @@ msgstr ""
470
606
  msgid "Rootfs"
471
607
  msgstr ""
472
608
 
473
- #: ../app/views/compute_resources_vms/form/proxmox/server/_advanced.html.erb:12
474
- msgid "CDROM"
475
- msgstr ""
476
-
477
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:9
609
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:10
478
610
  msgid "Boot device order"
479
611
  msgstr ""
480
612
 
481
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:9
482
- msgid "Floppy disk (a), hard disk (c), cdrom (d), network (n). Default cdn"
613
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:10
614
+ msgid "Order your devices, e.g. order=net0;ide2;scsi0. Default empty (any)"
483
615
  msgstr ""
484
616
 
485
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:11
617
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:12
486
618
  msgid "Qemu Agent"
487
619
  msgstr ""
488
620
 
489
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:12
621
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:13
490
622
  msgid "KVM"
491
623
  msgstr ""
492
624
 
493
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:12
494
- msgid "Enable/disable KVM hardware virtualization"
495
- msgstr ""
496
-
497
625
  #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:13
498
- msgid "Keyboard"
626
+ msgid "Enable/disable KVM hardware virtualization"
499
627
  msgstr ""
500
628
 
501
629
  #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:14
@@ -506,48 +634,62 @@ msgstr ""
506
634
  msgid "SCSI Controller"
507
635
  msgstr ""
508
636
 
509
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:19
510
- msgid "Sockets"
637
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:16
638
+ msgid "BIOS"
511
639
  msgstr ""
512
640
 
513
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:21
514
- msgid "VCPUs"
641
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:18
642
+ #: ../app/views/compute_resources_vms/index/_proxmox.html.erb:9
643
+ msgid "CPUs"
515
644
  msgstr ""
516
645
 
517
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:24
518
- msgid "Enable NUMA"
646
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:20
647
+ msgid "Sockets"
648
+ msgstr ""
649
+
650
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:22
651
+ msgid "VCPUs"
519
652
  msgstr ""
520
653
 
521
654
  #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:25
522
- msgid "PCID"
655
+ msgid "Enable NUMA"
523
656
  msgstr ""
524
657
 
525
658
  #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:26
526
- msgid "Spectre-CTRL"
659
+ msgid "CPU Flags"
527
660
  msgstr ""
528
661
 
529
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:30
662
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:34
530
663
  msgid "Minimum memory"
531
664
  msgstr ""
532
665
 
533
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:31
666
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:35
534
667
  msgid "Shares"
535
668
  msgstr ""
536
669
 
537
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:33
538
- msgid "CD-ROM"
670
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:40
671
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_cloud_init.html.erb:8
672
+ msgid "Cloud-init"
539
673
  msgstr ""
540
674
 
541
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:34
542
- msgid "None"
675
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:41
676
+ msgid "User"
543
677
  msgstr ""
544
678
 
545
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:35
546
- msgid "Physical"
679
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:42
680
+ msgid "Password"
547
681
  msgstr ""
548
682
 
549
- #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:39
550
- msgid "Image ISO"
683
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:43
684
+ msgid "DNS domain"
685
+ msgstr ""
686
+
687
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:44
688
+ msgid "DNS servers"
689
+ msgstr ""
690
+
691
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_config.html.erb:45
692
+ msgid "SSH public key"
551
693
  msgstr ""
552
694
 
553
695
  #: ../app/views/compute_resources_vms/form/proxmox/server/_network.html.erb:8
@@ -558,28 +700,49 @@ msgstr ""
558
700
  msgid "Multiqueue"
559
701
  msgstr ""
560
702
 
561
- #: ../app/views/compute_resources_vms/form/proxmox/server/_network.html.erb:13
562
- msgid "Firewall"
563
- msgstr ""
564
-
565
703
  #: ../app/views/compute_resources_vms/form/proxmox/server/_network.html.erb:14
566
704
  msgid "Disconnect"
567
705
  msgstr ""
568
706
 
569
- #: ../app/views/compute_resources_vms/form/proxmox/server/_volume.html.erb:6
570
- msgid "Disk"
707
+ #:
708
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_cdrom.html.erb:8
709
+ msgid "CD-ROM"
710
+ msgstr ""
711
+
712
+ #:
713
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_cdrom.html.erb:9
714
+ msgid "Media"
571
715
  msgstr ""
572
716
 
573
- #: ../app/views/compute_resources_vms/form/proxmox/server/_volume.html.erb:9
717
+ #:
718
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_cdrom.html.erb:11
719
+ msgid "None"
720
+ msgstr ""
721
+
722
+ #:
723
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_cdrom.html.erb:12
724
+ msgid "Physical"
725
+ msgstr ""
726
+
727
+ #:
728
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_cdrom.html.erb:17
729
+ msgid "Image ISO"
730
+ msgstr ""
731
+
732
+ #:
733
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_cloud_init.html.erb:12
734
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_hard_disk.html.erb:13
574
735
  msgid "Controller"
575
736
  msgstr ""
576
737
 
577
- #: ../app/views/compute_resources_vms/form/proxmox/server/_volume.html.erb:11
578
- msgid "Cache"
738
+ #:
739
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_hard_disk.html.erb:9
740
+ msgid "Hard disk"
579
741
  msgstr ""
580
742
 
581
- #: ../app/views/compute_resources_vms/index/_proxmox.html.erb:9
582
- msgid "CPUs"
743
+ #:
744
+ #: ../app/views/compute_resources_vms/form/proxmox/server/_volume_hard_disk.html.erb:15
745
+ msgid "Cache"
583
746
  msgstr ""
584
747
 
585
748
  #: ../app/views/compute_resources_vms/index/_proxmox.html.erb:11
@@ -616,7 +779,7 @@ msgstr ""
616
779
  msgid "vmid of template vm."
617
780
  msgstr ""
618
781
 
619
- #: ../lib/foreman_fog_proxmox/engine.rb:46
782
+ #: ../lib/foreman_fog_proxmox/engine.rb:47
620
783
  msgid "Foreman Fog Proxmox widget"
621
784
  msgstr ""
622
785