foreman_bootdisk 17.0.2 → 19.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (118) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +2 -3
  3. data/app/controllers/concerns/allowed_actions.rb +16 -0
  4. data/app/controllers/foreman_bootdisk/api/v2/disks_controller.rb +11 -2
  5. data/app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb +7 -0
  6. data/app/controllers/foreman_bootdisk/disks_controller.rb +71 -19
  7. data/app/controllers/foreman_bootdisk/subnet_disks_controller.rb +41 -0
  8. data/app/helpers/bootdisk_links_helper.rb +46 -0
  9. data/app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb +57 -43
  10. data/app/helpers/concerns/foreman_bootdisk/pretty_error.rb +13 -0
  11. data/app/helpers/concerns/foreman_bootdisk/subnets_helper_ext.rb +45 -0
  12. data/app/helpers/disk_helper.rb +8 -0
  13. data/app/lib/foreman_bootdisk/scope/bootdisk.rb +24 -0
  14. data/app/models/concerns/foreman_bootdisk/host_ext.rb +6 -0
  15. data/app/models/concerns/foreman_bootdisk/orchestration/compute.rb +10 -3
  16. data/app/models/setting/bootdisk.rb +10 -1
  17. data/app/services/foreman_bootdisk/iso_generator.rb +23 -5
  18. data/app/views/foreman_bootdisk/disks/help.html.erb +16 -4
  19. data/app/views/foreman_bootdisk/generic_efi_host.erb +4 -0
  20. data/app/views/foreman_bootdisk/host.erb +7 -0
  21. data/app/views/subnets/_bootdisk_action_buttons.erb +1 -0
  22. data/app/views/subnets/_bootdisk_title_buttons.erb +1 -0
  23. data/config/routes.rb +2 -1
  24. data/db/migrate/20140522185700_change_templatekind_to_bootdisk.rb +3 -11
  25. data/lib/foreman_bootdisk/engine.rb +14 -2
  26. data/lib/foreman_bootdisk/version.rb +1 -1
  27. data/lib/tasks/bootdisk.rake +1 -19
  28. data/locale/action_names.rb +1 -1
  29. data/locale/ca/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  30. data/locale/ca/foreman_bootdisk.edit.po +393 -0
  31. data/locale/ca/foreman_bootdisk.po +47 -11
  32. data/locale/ca/foreman_bootdisk.po.time_stamp +0 -0
  33. data/locale/de/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  34. data/locale/de/foreman_bootdisk.edit.po +398 -0
  35. data/locale/de/foreman_bootdisk.po +63 -26
  36. data/locale/de/foreman_bootdisk.po.time_stamp +0 -0
  37. data/locale/en/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  38. data/locale/en/foreman_bootdisk.edit.po +388 -0
  39. data/locale/en/foreman_bootdisk.po +45 -9
  40. data/locale/en/foreman_bootdisk.po.time_stamp +0 -0
  41. data/locale/en_GB/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  42. data/locale/en_GB/foreman_bootdisk.edit.po +394 -0
  43. data/locale/en_GB/foreman_bootdisk.po +47 -11
  44. data/locale/en_GB/foreman_bootdisk.po.time_stamp +0 -0
  45. data/locale/es/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  46. data/locale/es/foreman_bootdisk.edit.po +394 -0
  47. data/locale/es/foreman_bootdisk.po +69 -32
  48. data/locale/es/foreman_bootdisk.po.time_stamp +0 -0
  49. data/locale/foreman_bootdisk.pot +121 -63
  50. data/locale/fr/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  51. data/locale/fr/foreman_bootdisk.edit.po +394 -0
  52. data/locale/fr/foreman_bootdisk.po +80 -43
  53. data/locale/fr/foreman_bootdisk.po.time_stamp +0 -0
  54. data/locale/it/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  55. data/locale/it/foreman_bootdisk.edit.po +391 -0
  56. data/locale/it/foreman_bootdisk.po +47 -11
  57. data/locale/it/foreman_bootdisk.po.time_stamp +0 -0
  58. data/locale/ja/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  59. data/locale/ja/foreman_bootdisk.edit.po +393 -0
  60. data/locale/ja/foreman_bootdisk.po +70 -33
  61. data/locale/ja/foreman_bootdisk.po.time_stamp +0 -0
  62. data/locale/ko/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  63. data/locale/ko/foreman_bootdisk.edit.po +390 -0
  64. data/locale/ko/foreman_bootdisk.po +47 -11
  65. data/locale/ko/foreman_bootdisk.po.time_stamp +0 -0
  66. data/locale/pt_BR/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  67. data/locale/pt_BR/foreman_bootdisk.edit.po +394 -0
  68. data/locale/pt_BR/foreman_bootdisk.po +79 -43
  69. data/locale/pt_BR/foreman_bootdisk.po.time_stamp +0 -0
  70. data/locale/ru/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  71. data/locale/ru/foreman_bootdisk.edit.po +395 -0
  72. data/locale/ru/foreman_bootdisk.po +47 -11
  73. data/locale/ru/foreman_bootdisk.po.time_stamp +0 -0
  74. data/locale/sv_SE/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  75. data/locale/sv_SE/foreman_bootdisk.edit.po +392 -0
  76. data/locale/sv_SE/foreman_bootdisk.po +47 -11
  77. data/locale/sv_SE/foreman_bootdisk.po.time_stamp +0 -0
  78. data/locale/zh_CN/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  79. data/locale/zh_CN/foreman_bootdisk.edit.po +391 -0
  80. data/locale/zh_CN/foreman_bootdisk.po +113 -77
  81. data/locale/zh_CN/foreman_bootdisk.po.time_stamp +0 -0
  82. data/locale/zh_TW/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  83. data/locale/zh_TW/foreman_bootdisk.edit.po +391 -0
  84. data/locale/zh_TW/foreman_bootdisk.po +47 -11
  85. data/locale/zh_TW/foreman_bootdisk.po.time_stamp +0 -0
  86. data/package.json +42 -0
  87. data/webpack/__mocks__/foremanReact/common/HOC.js +30 -0
  88. data/webpack/__mocks__/foremanReact/common/I18n.js +7 -0
  89. data/webpack/__mocks__/foremanReact/common/helpers.js +7 -0
  90. data/webpack/__mocks__/foremanReact/common/urlHelpers.js +8 -0
  91. data/webpack/__mocks__/foremanReact/constants.js +24 -0
  92. data/webpack/__mocks__/foremanReact/redux/API/APISelectors.js +6 -0
  93. data/webpack/__mocks__/foremanReact/redux/API/index.js +10 -0
  94. data/webpack/global_index.js +12 -0
  95. data/webpack/global_test_setup.js +11 -0
  96. data/webpack/index.js +0 -0
  97. data/webpack/src/extensions/constants.js +2 -0
  98. data/webpack/src/extensions/host/HostBootdiskButtons.js +71 -0
  99. data/webpack/src/extensions/host/HostBootdiskButtonsSelectors.js +27 -0
  100. data/webpack/src/extensions/host/__tests__/HostBootdiskButtonsSelectors.test.js +66 -0
  101. data/webpack/src/extensions/host/__tests__/__snapshots__/HostBootdiskButtonsSelectors.test.js.snap +30 -0
  102. metadata +60 -66
  103. data/.tx/config +0 -8
  104. data/AUTHORS +0 -30
  105. data/release-gem +0 -84
  106. data/test/functional/foreman_bootdisk/api/v2/disks_controller_test.rb +0 -97
  107. data/test/functional/foreman_bootdisk/api/v2/subnet_disks_controller_test.rb +0 -37
  108. data/test/functional/foreman_bootdisk/disks_controller_test.rb +0 -107
  109. data/test/models/host/managed_test.rb +0 -26
  110. data/test/test_plugin_helper.rb +0 -72
  111. data/test/unit/access_permissions_test.rb +0 -10
  112. data/test/unit/concerns/compute_resources/vmware_test.rb +0 -83
  113. data/test/unit/concerns/host_test.rb +0 -84
  114. data/test/unit/concerns/orchestration/compute_test.rb +0 -69
  115. data/test/unit/foreman_bootdisk/renderer_test.rb +0 -36
  116. data/test/unit/foreman_bootdisk/scope/bootdisk_test.rb +0 -31
  117. data/test/unit/foreman_bootdisk/scope/full_host_bootdisk_test.rb +0 -30
  118. data/test/unit/iso_generator_test.rb +0 -74
@@ -3,14 +3,15 @@
3
3
  # This file is distributed under the same license as the foreman_bootdisk package.
4
4
  #
5
5
  # Translators:
6
+ # Sergio Ocón-Cárdenas <sergio.ocon@redhat.com>, 2014
6
7
  # Sergio Ocón-Cárdenas <sergio.ocon@redhat.com>, 2014-2015
7
8
  # Sergio Ocón-Cárdenas <sergio.ocon@redhat.com>, 2014
8
9
  msgid ""
9
10
  msgstr ""
10
- "Project-Id-Version: foreman_bootdisk 17.0.0\n"
11
+ "Project-Id-Version: foreman_bootdisk 18.1.0\n"
11
12
  "Report-Msgid-Bugs-To: \n"
12
- "PO-Revision-Date: 2019-10-22 20:06+0000\n"
13
- "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
13
+ "PO-Revision-Date: 2021-09-24 07:25+0000\n"
14
+ "Last-Translator: Transifex Bot <>\n"
14
15
  "Language-Team: Spanish (http://www.transifex.com/foreman/foreman/language/es/)"
15
16
  "\n"
16
17
  "MIME-Version: 1.0\n"
@@ -19,8 +20,11 @@ msgstr ""
19
20
  "Language: es\n"
20
21
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
21
22
 
23
+ msgid "* - These bootdisk types were disabled, you can enable them in Administer - Settings."
24
+ msgstr ""
25
+
22
26
  msgid "A variant of the per-host image which contains the OS bootloader embedded inside the disk. This may be useful if chainloading fails on certain hardware, but has the downside that the image must be regenerated for any change in the OS, bootloader or PXELinux templates."
23
- msgstr "Una variante de la imagen por host que contiene el bootloader del SO incluido dentro del disco. Esto puede resultar útil si la carga de la cadena falla en ciertos hardware, pero presenta la desventaja de que la imagen se debe regenerar frente a cualquier cambio en las plantillas del SO, bootloader o PXELinux."
27
+ msgstr "Una variante de la imagen por host que contiene el cargador de arranque del sistema operativo incluido en el disco. Esto puede resultar útil si se produce un error en el hardware de la cadena de arranque. No obstante, tiene la particularidad de que la imagen debe regenerarse para cualquier cambio que se produzca en el sistema operativo, en el cargador de arranque o en las plantillas PXELinux."
24
28
 
25
29
  msgid "Action with sub plans"
26
30
  msgstr "Acción con subplanes"
@@ -28,6 +32,9 @@ msgstr "Acción con subplanes"
28
32
  msgid "All images are usable as either ISOs or as disk images, including being written to a USB disk with `dd`."
29
33
  msgstr "Todas las imágenes pueden utilizarse como ISO o como imágenes de disco, incluso tras copiarlas en un disco USB con `dd`"
30
34
 
35
+ msgid "Allowed bootdisk types"
36
+ msgstr ""
37
+
31
38
  msgid "Attach ISO image to CDROM drive for %s"
32
39
  msgstr "Adjuntar imagen ISO a la unidad CDROM para %s"
33
40
 
@@ -37,6 +44,9 @@ msgstr "Atrás"
37
44
  msgid "Boot disk"
38
45
  msgstr "Disco de arranque"
39
46
 
47
+ msgid "Boot disk Help"
48
+ msgstr ""
49
+
40
50
  msgid "Boot disk based"
41
51
  msgstr "Basado en el disco de arranque"
42
52
 
@@ -46,20 +56,23 @@ msgstr "Descarga de disco de arranque no disponible para la arquitectura %s"
46
56
  msgid "Boot disk embedded template"
47
57
  msgstr "Plantilla inserta en el disco de arranque"
48
58
 
59
+ msgid "Boot disk help"
60
+ msgstr ""
61
+
49
62
  msgid "Boot disks"
50
63
  msgstr "Discos de arranque"
51
64
 
52
65
  msgid "Both IP and Subnet must be set"
53
- msgstr ""
66
+ msgstr "Tanto la IP como la subred deben estar configuradas"
54
67
 
55
68
  msgid "Command to generate ISO image, use genisoimage or mkisofs"
56
69
  msgstr "Comando para generar una imagen ISO, use genisoimage o mkisofs"
57
70
 
58
71
  msgid "Creating new image failed, install truncate utility"
59
- msgstr ""
72
+ msgstr "Error en la creación de la nueva imagen, instale la utilidad para truncar"
60
73
 
61
74
  msgid "Detach ISO image from CDROM drive for %s"
62
- msgstr ""
75
+ msgstr "Separar imagen ISO de la unidad CDROM para %s"
63
76
 
64
77
  msgid "Download generic image"
65
78
  msgstr "Descargar imagen genérica"
@@ -70,26 +83,26 @@ msgstr "Descargar imagen de host"
70
83
  msgid "Download subnet generic image"
71
84
  msgstr "Descargar imagen genérica de la subred"
72
85
 
73
- msgid "Ensure %{path} contains grubx64.efi and shimx64.efi: install TFTP module or copy those files into /var/lib/foreman/bootdisk (Grub2 directory setting)"
86
+ msgid "Ensure %{file} is readable (or update \"Grub2 directory\" setting)"
74
87
  msgstr ""
75
88
 
76
89
  msgid "Failed to attach ISO image to CDROM drive of instance %{name}: %{message}"
77
90
  msgstr "Ocurrió un error al adjuntar la imagen ISP a la unidad CDROM de la instancia %{name}: %{message}"
78
91
 
79
92
  msgid "Failed to create a directory within the ESP image"
80
- msgstr ""
93
+ msgstr "Ocurrió un error al crear un directorio dentro de la imagen ESP"
81
94
 
82
95
  msgid "Failed to detach ISO image from CDROM drive of instance %{name}: %{message}"
83
- msgstr ""
96
+ msgstr "Ocurrió un error al separar la imagen ISO de la unidad CDROM de la instancia %{name}: %{message}"
84
97
 
85
98
  msgid "Failed to format the ESP image via mkfs.msdos"
86
- msgstr ""
99
+ msgstr "Ocurrió un error al formatear la imagen ESP a través de mkfs.msdos"
87
100
 
88
101
  msgid "Failed to generate ISO image for instance %{name}: %{message}"
89
102
  msgstr "Ocurrió un error al generar la imagen ISP para la instancia %{name}: %{message}"
90
103
 
91
104
  msgid "Failed to render boot disk template"
92
- msgstr "No se pudo reproducir la plantilla del disco de arranque."
105
+ msgstr "Ocurrió un error al mostrar la plantilla del disco de arranque"
93
106
 
94
107
  msgid "Failed to upload ISO image for instance %{name}: %{message}"
95
108
  msgstr "Ocurrió un error al subir la imagen ISP para la instancia %{name}: %{message}"
@@ -104,7 +117,7 @@ msgid "Generating ISO image for %s"
104
117
  msgstr "Generando imagen para %s"
105
118
 
106
119
  msgid "Generic Grub2 EFI image template"
107
- msgstr ""
120
+ msgstr "Plantilla de imagen EFI genérica de Grub2"
108
121
 
109
122
  msgid "Generic image"
110
123
  msgstr "Imagen genérica"
@@ -112,26 +125,26 @@ msgstr "Imagen genérica"
112
125
  msgid "Generic image template"
113
126
  msgstr "Plantilla de imagen genérica"
114
127
 
128
+ msgid "Generic images"
129
+ msgstr ""
130
+
115
131
  msgid "Generic images are a reusable disk image that works for any host registered in Foreman. It requires a basic DHCP and DNS service to function and contact the server, but does not require DHCP reservations or static IP addresses."
116
132
  msgstr "Las imágenes genéricas son imágenes de disco reutilizables que funcionan con cualquier host registrado en Foreman. Requiere un servicio básico DCHP y DNS para funcionar y comunicarse con el servidor, pero no necesita reservas DHCP o direcciones IP estáticas."
117
133
 
118
134
  msgid "Grub2 directory"
119
- msgstr ""
135
+ msgstr "Directorio Grub2"
120
136
 
121
137
  msgid "Grub2 template to use for generic EFI host boot disks"
122
- msgstr ""
123
-
124
- msgid "Help"
125
- msgstr "Ayuda"
138
+ msgstr "Plantilla Grub2 para usar en discos de arranque de host EFI genéricos"
126
139
 
127
140
  msgid "Host '%s' image"
128
141
  msgstr "Imagen del host '%s'"
129
142
 
130
143
  msgid "Host bootdisk does not work with static IPv6"
131
- msgstr ""
144
+ msgstr "El disco de arranque del host no funciona con IPv6 estática"
132
145
 
133
146
  msgid "Host has no IPv4 or IPv6 address defined"
134
- msgstr ""
147
+ msgstr "El host no tiene definida una dirección IPv4 o IPv6"
135
148
 
136
149
  msgid "Host has no domain defined"
137
150
  msgstr "El host no tiene dominio definido"
@@ -148,9 +161,18 @@ msgstr "Imágen de host"
148
161
  msgid "Host image template"
149
162
  msgstr "Plantilla de imagen de host"
150
163
 
164
+ msgid "Host images"
165
+ msgstr ""
166
+
167
+ msgid "Host is not in build mode"
168
+ msgstr ""
169
+
151
170
  msgid "Host is not in build mode, so the template cannot be rendered"
152
171
  msgstr "El host no está en modo build, así que no se puede producir la plantilla"
153
172
 
173
+ msgid "Host is not in build mode."
174
+ msgstr ""
175
+
154
176
  msgid "ISO build failed"
155
177
  msgstr "Error en la construcción del ISO"
156
178
 
@@ -158,7 +180,7 @@ msgid "ISO generation command"
158
180
  msgstr "Comando de generación ISO"
159
181
 
160
182
  msgid "ISO hybrid conversion failed: %s"
161
- msgstr ""
183
+ msgstr "Error en la conversión del ISO híbrido"
162
184
 
163
185
  msgid "ISOLINUX directory"
164
186
  msgstr "Directorio ISOLINUX"
@@ -175,11 +197,17 @@ msgstr "Habilitando caché de medios de instalación"
175
197
  msgid "Installation media files will be cached for full host images"
176
198
  msgstr "Archivos de medios de instalación se almacenarán en caché para imágenes completas de host"
177
199
 
200
+ msgid "List of allowed bootdisk types, remove type to disable it"
201
+ msgstr ""
202
+
203
+ msgid "Not available"
204
+ msgstr ""
205
+
178
206
  msgid "Once chainloaded, the OS bootloader and installer are downloaded directly from the installation media configured in Foreman, and the provisioning script (kickstart/preseed) is downloaded from Foreman."
179
207
  msgstr "Una vez encadenado, el bootloader del SO y el instalador se descargan directamente desde el medio de instalación configurado en Formena, y el script de provisión (kickstart/preseed) se descarga desde Foreman."
180
208
 
181
209
  msgid "Path to directory containing grubx64.efi and shimx64.efi"
182
- msgstr ""
210
+ msgstr "Ruta de acceso al directorio que contiene grubx64.efi y shimx64.efi"
183
211
 
184
212
  msgid "Path to directory containing iPXE images"
185
213
  msgstr "Ruta al directorio que contiene las imágenes iPXE"
@@ -209,19 +237,19 @@ msgid "SYSLINUX directory"
209
237
  msgstr "Directorio SYSLINUX"
210
238
 
211
239
  msgid "Subnet '%s' generic image"
212
- msgstr "Imagen genérica '%s' de la subred"
240
+ msgstr "Imagen genérica de la subred %s"
213
241
 
214
242
  msgid "Subnet boot disks"
215
243
  msgstr "Discos de arranque de la subred"
216
244
 
245
+ msgid "Subnet generic image"
246
+ msgstr ""
247
+
217
248
  msgid "Subnet image"
218
- msgstr "Imagen de subred"
249
+ msgstr "Imagen de la subred"
219
250
 
220
251
  msgid "Subnet images are similar to generic images, but chain-loading is done via the TFTP Smart Proxy assigned to the Subnet of the host. The smart proxy must have the \"Templates\" module enabled and configured."
221
- msgstr "Las imágenes de la subred son similares a las imágenes genéricas, pero la carga de la cadena se realiza a través del proxy inteligente TFTP asignado a la subred del host. El módulo \"Plantillas\" debe estar habilitado y configurado en el proxy inteligente."
222
-
223
- msgid "Subnet is not assigned to the host %s"
224
- msgstr "La subred no está asignada al host %s."
252
+ msgstr "Las imágenes de la subred son similares a imágenes genéricas. No obstante, la carga de la cadena se lleva a cabo a través del proxy inteligente TFTP asignado a la subred del host. El proxy inteligente debe tener el módulo \"Plantillas\" habilitado y configurado."
225
253
 
226
254
  msgid "TFTP feature not enabled for subnet %s"
227
255
  msgstr "Funcionalidad TFTP no habilitada para la subred %s"
@@ -229,8 +257,17 @@ msgstr "Funcionalidad TFTP no habilitada para la subred %s"
229
257
  msgid "The OS install continues using the installation media configured in Foreman, and it will typically configure static networking, depending on how the OS iPXE template is configured."
230
258
  msgstr "La instalación del SO sigue usando el medio de instalación configurado en Foreman, y típicamente configura red estática, según como se configura la plantilla iPXE del SO."
231
259
 
260
+ msgid "These images are more generic than previous images. You can find them at subnet index page."
261
+ msgstr ""
262
+
263
+ msgid "These images are used for host. You can find them at host detail page."
264
+ msgstr ""
265
+
232
266
  msgid "This image is generic for all hosts with a provisioning NIC on that subnet."
233
- msgstr "Esta imagen es genérica para todos los hosts con NIC de aprovisionamiento en la subred."
267
+ msgstr "Esta imagen es genérica para todos los hosts con un NIC de aprovisionamiento en dicha subred."
268
+
269
+ msgid "This type of bootdisk is not allowed. Please contact administrator."
270
+ msgstr ""
234
271
 
235
272
  msgid "True for full, false for basic reusable image"
236
273
  msgstr "Verdadero para completo, falso para imagen básica reutilizable"
@@ -239,12 +276,12 @@ msgid "Unable to find template specified by %s setting"
239
276
  msgstr "No ha sido posible encontrar la plantilla especificada por el parámetro de configuración %s"
240
277
 
241
278
  msgid "Unable to generate disk %{kind} template: %{error}"
242
- msgstr ""
279
+ msgstr "No se pudo generar la plantilla del disco %{kind}: %{error}"
243
280
 
244
281
  msgid "Unable to generate disk template, %{kind} template not found."
245
- msgstr ""
282
+ msgstr "No se pudo generar la plantilla del disco, no se encontró la plantilla %{kind}"
246
283
 
247
- msgid "Unable to mcopy %{path}"
284
+ msgid "Unable to mcopy %{file}"
248
285
  msgstr ""
249
286
 
250
287
  msgid "Upload ISO image to datastore for %s"
File without changes
@@ -8,8 +8,8 @@ msgid ""
8
8
  msgstr ""
9
9
  "Project-Id-Version: foreman_bootdisk 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2020-06-15 14:46+0200\n"
12
- "PO-Revision-Date: 2020-06-15 14:46+0200\n"
11
+ "POT-Creation-Date: 2021-11-30 18:05+0100\n"
12
+ "PO-Revision-Date: 2021-11-30 18:05+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,76 +18,100 @@ msgstr ""
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
19
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
20
20
 
21
- #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:19
21
+ #: ../app/controllers/concerns/allowed_actions.rb:7
22
+ msgid "This type of bootdisk is not allowed. Please contact administrator."
23
+ msgstr ""
24
+
25
+ #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:21
22
26
  #: ../app/views/foreman_bootdisk/disks/help.html.erb:1
23
27
  msgid "Boot disks"
24
28
  msgstr ""
25
29
 
26
- #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:22
30
+ #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:24
27
31
  msgid "Download generic image"
28
32
  msgstr ""
29
33
 
30
- #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:31
34
+ #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:33
31
35
  msgid "Download host image"
32
36
  msgstr ""
33
37
 
34
- #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:32
38
+ #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:34
35
39
  msgid "True for full, false for basic reusable image"
36
40
  msgstr ""
37
41
 
38
- #: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:20
39
- msgid "Subnet boot disks"
42
+ #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:46
43
+ #: ../app/controllers/foreman_bootdisk/disks_controller.rb:126
44
+ #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:90
45
+ msgid "Host is not in build mode"
40
46
  msgstr ""
41
47
 
42
48
  #: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:23
49
+ msgid "Subnet boot disks"
50
+ msgstr ""
51
+
52
+ #: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:26
43
53
  msgid "Download subnet generic image"
44
54
  msgstr ""
45
55
 
46
- #: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:27
47
- #: ../app/controllers/foreman_bootdisk/disks_controller.rb:55
56
+ #: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:30
57
+ #: ../app/controllers/foreman_bootdisk/subnet_disks_controller.rb:15
48
58
  msgid "TFTP feature not enabled for subnet %s"
49
59
  msgstr ""
50
60
 
51
- #: ../app/controllers/foreman_bootdisk/disks_controller.rb:54
52
- msgid "Subnet is not assigned to the host %s"
61
+ #: ../app/controllers/foreman_bootdisk/disks_controller.rb:63
62
+ msgid "Host is not in build mode."
53
63
  msgstr ""
54
64
 
55
- #: ../app/controllers/foreman_bootdisk/disks_controller.rb:80
65
+ #: ../app/controllers/foreman_bootdisk/disks_controller.rb:95
66
+ #: ../app/helpers/concerns/foreman_bootdisk/pretty_error.rb:8
56
67
  msgid "Failed to render boot disk template"
57
68
  msgstr ""
58
69
 
59
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:10
60
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:60
61
- #: ../app/models/setting/bootdisk.rb:29
62
- msgid "Boot disk"
63
- msgstr ""
64
-
65
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:12
70
+ #: ../app/controllers/foreman_bootdisk/disks_controller.rb:120
71
+ #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:66
66
72
  msgid "Host '%s' image"
67
73
  msgstr ""
68
74
 
69
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:21
75
+ #: ../app/controllers/foreman_bootdisk/disks_controller.rb:120
76
+ #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:76
77
+ #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:86
70
78
  msgid "Full host '%s' image"
71
79
  msgstr ""
72
80
 
73
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:31
74
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:25
75
- msgid "Generic image"
81
+ #: ../app/controllers/foreman_bootdisk/disks_controller.rb:132
82
+ msgid "Boot disk help"
76
83
  msgstr ""
77
84
 
78
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:41
79
- msgid "Help"
85
+ #: ../app/helpers/bootdisk_links_helper.rb:27
86
+ msgid "Boot disk Help"
80
87
  msgstr ""
81
88
 
82
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:61
89
+ #: ../app/helpers/bootdisk_links_helper.rb:40
90
+ #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:20
91
+ #: ../app/models/setting/bootdisk.rb:30
92
+ #: ../webpack/src/extensions/host/HostBootdiskButtons.js:65
93
+ msgid "Boot disk"
94
+ msgstr ""
95
+
96
+ #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:21
97
+ #: ../webpack/src/extensions/host/HostBootdiskButtons.js:54
83
98
  msgid "Boot disk download not available for %s architecture"
84
99
  msgstr ""
85
100
 
86
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:70
101
+ #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:30
87
102
  msgid "Subnet '%s' generic image"
88
103
  msgstr ""
89
104
 
90
- #: ../app/models/concerns/foreman_bootdisk/host_ext.rb:10
105
+ #: ../app/helpers/concerns/foreman_bootdisk/subnets_helper_ext.rb:10
106
+ msgid "Subnet generic image"
107
+ msgstr ""
108
+
109
+ #: ../app/helpers/concerns/foreman_bootdisk/subnets_helper_ext.rb:27
110
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:35
111
+ msgid "Generic image"
112
+ msgstr ""
113
+
114
+ #: ../app/models/concerns/foreman_bootdisk/host_ext.rb:12
91
115
  #: ../app/services/foreman_bootdisk/renderer.rb:53
92
116
  #: ../app/services/foreman_bootdisk/renderer.rb:60
93
117
  msgid "Unable to find template specified by %s setting"
@@ -109,19 +133,19 @@ msgstr ""
109
133
  msgid "Detach ISO image from CDROM drive for %s"
110
134
  msgstr ""
111
135
 
112
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:66
136
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:73
113
137
  msgid "Failed to generate ISO image for instance %{name}: %{message}"
114
138
  msgstr ""
115
139
 
116
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:75
140
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:82
117
141
  msgid "Failed to upload ISO image for instance %{name}: %{message}"
118
142
  msgstr ""
119
143
 
120
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:84
144
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:91
121
145
  msgid "Failed to attach ISO image to CDROM drive of instance %{name}: %{message}"
122
146
  msgstr ""
123
147
 
124
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:93
148
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:100
125
149
  msgid "Failed to detach ISO image from CDROM drive of instance %{name}: %{message}"
126
150
  msgstr ""
127
151
 
@@ -197,54 +221,60 @@ msgstr ""
197
221
  msgid "Installation media caching"
198
222
  msgstr ""
199
223
 
200
- #: ../app/services/foreman_bootdisk/iso_generator.rb:14
224
+ #: ../app/models/setting/bootdisk.rb:25
225
+ msgid "List of allowed bootdisk types, remove type to disable it"
226
+ msgstr ""
227
+
228
+ #: ../app/models/setting/bootdisk.rb:25
229
+ msgid "Allowed bootdisk types"
230
+ msgstr ""
231
+
232
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:16
201
233
  msgid "Host is not in build mode, so the template cannot be rendered"
202
234
  msgstr ""
203
235
 
204
- #: ../app/services/foreman_bootdisk/iso_generator.rb:40
236
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:42
205
237
  msgid "Unable to generate disk template, %{kind} template not found."
206
238
  msgstr ""
207
239
 
208
- #: ../app/services/foreman_bootdisk/iso_generator.rb:50
240
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:52
209
241
  msgid "Unable to generate disk %{kind} template: %{error}"
210
242
  msgstr ""
211
243
 
212
- #: ../app/services/foreman_bootdisk/iso_generator.rb:92
244
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:94
213
245
  msgid "Please ensure the isolinux/syslinux package(s) are installed."
214
246
  msgstr ""
215
247
 
216
- #: ../app/services/foreman_bootdisk/iso_generator.rb:109
248
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:111
217
249
  msgid "Please ensure the ipxe-bootimgs package is installed."
218
250
  msgstr ""
219
251
 
220
- #: ../app/services/foreman_bootdisk/iso_generator.rb:126
252
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:128
221
253
  msgid "Creating new image failed, install truncate utility"
222
254
  msgstr ""
223
255
 
224
- #: ../app/services/foreman_bootdisk/iso_generator.rb:127
256
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:129
225
257
  msgid "Failed to format the ESP image via mkfs.msdos"
226
258
  msgstr ""
227
259
 
228
- #: ../app/services/foreman_bootdisk/iso_generator.rb:128
229
- #: ../app/services/foreman_bootdisk/iso_generator.rb:129
260
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:130
261
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:131
230
262
  msgid "Failed to create a directory within the ESP image"
231
263
  msgstr ""
232
264
 
233
- #: ../app/services/foreman_bootdisk/iso_generator.rb:135
234
- msgid ""
235
- "Ensure %{path} contains grubx64.efi and shimx64.efi: install TFTP module or co"
236
- "py those files into /var/lib/foreman/bootdisk (Grub2 directory setting)"
265
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:137
266
+ msgid "Ensure %{file} is readable (or update \"Grub2 directory\" setting)"
237
267
  msgstr ""
238
268
 
239
- #: ../app/services/foreman_bootdisk/iso_generator.rb:136
240
- msgid "Unable to mcopy %{path}"
269
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:138
270
+ msgid "Unable to mcopy %{file}"
241
271
  msgstr ""
242
272
 
243
- #: ../app/services/foreman_bootdisk/iso_generator.rb:158
273
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:160
244
274
  msgid "ISO build failed"
245
275
  msgstr ""
246
276
 
247
- #: ../app/services/foreman_bootdisk/iso_generator.rb:161
277
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:163
248
278
  msgid "ISO hybrid conversion failed: %s"
249
279
  msgstr ""
250
280
 
@@ -266,10 +296,18 @@ msgid ""
266
296
  msgstr ""
267
297
 
268
298
  #: ../app/views/foreman_bootdisk/disks/help.html.erb:12
269
- msgid "Host image"
299
+ msgid "Host images"
270
300
  msgstr ""
271
301
 
272
302
  #: ../app/views/foreman_bootdisk/disks/help.html.erb:14
303
+ msgid "These images are used for host. You can find them at host detail page."
304
+ msgstr ""
305
+
306
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:17
307
+ msgid "Host image"
308
+ msgstr ""
309
+
310
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:19
273
311
  msgid ""
274
312
  "Per-host images contain data about a particular host registered in Foreman and"
275
313
  " set up fully static networking, avoiding the requirement for DHCP. After net"
@@ -277,18 +315,18 @@ msgid ""
277
315
  "configuration and build state from the server."
278
316
  msgstr ""
279
317
 
280
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:17
318
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:22
281
319
  msgid ""
282
320
  "Once chainloaded, the OS bootloader and installer are downloaded directly from"
283
321
  " the installation media configured in Foreman, and the provisioning script (ki"
284
322
  "ckstart/preseed) is downloaded from Foreman."
285
323
  msgstr ""
286
324
 
287
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:20
325
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:25
288
326
  msgid "Full host image"
289
327
  msgstr ""
290
328
 
291
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:22
329
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:27
292
330
  msgid ""
293
331
  "A variant of the per-host image which contains the OS bootloader embedded insi"
294
332
  "de the disk. This may be useful if chainloading fails on certain hardware, bu"
@@ -296,35 +334,51 @@ msgid ""
296
334
  ", bootloader or PXELinux templates."
297
335
  msgstr ""
298
336
 
299
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:27
337
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:30
338
+ msgid "Generic images"
339
+ msgstr ""
340
+
341
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:32
342
+ msgid ""
343
+ "These images are more generic than previous images. You can find them at subne"
344
+ "t index page."
345
+ msgstr ""
346
+
347
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:37
300
348
  msgid ""
301
349
  "Generic images are a reusable disk image that works for any host registered in"
302
350
  " Foreman. It requires a basic DHCP and DNS service to function and contact th"
303
351
  "e server, but does not require DHCP reservations or static IP addresses."
304
352
  msgstr ""
305
353
 
306
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:30
354
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:40
307
355
  msgid ""
308
356
  "The OS install continues using the installation media configured in Foreman, a"
309
357
  "nd it will typically configure static networking, depending on how the OS iPXE"
310
358
  " template is configured."
311
359
  msgstr ""
312
360
 
313
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:33
361
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:43
314
362
  msgid "Subnet image"
315
363
  msgstr ""
316
364
 
317
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:35
365
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:45
318
366
  msgid ""
319
367
  "Subnet images are similar to generic images, but chain-loading is done via the"
320
368
  " TFTP Smart Proxy assigned to the Subnet of the host. The smart proxy must hav"
321
369
  "e the \"Templates\" module enabled and configured."
322
370
  msgstr ""
323
371
 
324
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:38
372
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:48
325
373
  msgid "This image is generic for all hosts with a provisioning NIC on that subnet."
326
374
  msgstr ""
327
375
 
376
+ #: ../app/views/foreman_bootdisk/disks/help.html.erb:51
377
+ msgid ""
378
+ "* - These bootdisk types were disabled, you can enable them in Administer - Se"
379
+ "ttings."
380
+ msgstr ""
381
+
328
382
  #: ../app/views/foreman_bootdisk/host.erb:9
329
383
  msgid "Host has no provisioning interface defined"
330
384
  msgstr ""
@@ -349,24 +403,28 @@ msgstr ""
349
403
  msgid "Both IP and Subnet must be set"
350
404
  msgstr ""
351
405
 
352
- #: ../lib/foreman_bootdisk/engine.rb:54
406
+ #: ../lib/foreman_bootdisk/engine.rb:60
353
407
  msgid "Boot disk based"
354
408
  msgstr ""
355
409
 
356
- #: ../lib/foreman_bootdisk/engine.rb:55
410
+ #: ../lib/foreman_bootdisk/engine.rb:61
357
411
  msgid "Boot disk embedded template"
358
412
  msgstr ""
359
413
 
414
+ #: ../webpack/src/extensions/host/HostBootdiskButtons.js:59
415
+ msgid "Not available"
416
+ msgstr ""
417
+
360
418
  #: action_names.rb:2
361
419
  msgid "Remote action:"
362
420
  msgstr ""
363
421
 
364
422
  #: action_names.rb:3
365
- msgid "Import facts"
423
+ msgid "Import Puppet classes"
366
424
  msgstr ""
367
425
 
368
426
  #: action_names.rb:4
369
- msgid "Import Puppet classes"
427
+ msgid "Import facts"
370
428
  msgstr ""
371
429
 
372
430
  #: action_names.rb:5