foreman_bootdisk 13.0.0 → 16.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (77) hide show
  1. checksums.yaml +4 -4
  2. data/AUTHORS +29 -0
  3. data/CHANGES.md +4 -0
  4. data/README.md +19 -2
  5. data/app/controllers/foreman_bootdisk/api/v2/disks_controller.rb +11 -9
  6. data/app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb +37 -31
  7. data/app/controllers/foreman_bootdisk/disks_controller.rb +20 -19
  8. data/app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb +86 -45
  9. data/app/lib/foreman_bootdisk/scope/bootdisk.rb +2 -0
  10. data/app/lib/foreman_bootdisk/scope/full_host_bootdisk.rb +15 -0
  11. data/app/models/concerns/foreman_bootdisk/compute_resources/vmware.rb +4 -2
  12. data/app/models/concerns/foreman_bootdisk/host_ext.rb +42 -30
  13. data/app/models/concerns/foreman_bootdisk/orchestration/compute.rb +14 -10
  14. data/app/models/setting/bootdisk.rb +21 -23
  15. data/app/services/foreman_bootdisk/iso_generator.rb +144 -104
  16. data/app/services/foreman_bootdisk/renderer.rb +17 -13
  17. data/app/views/foreman_bootdisk/generic_static_host.erb +34 -0
  18. data/app/views/foreman_bootdisk/host.erb +27 -11
  19. data/config/routes.rb +15 -13
  20. data/config/routes/mount_engine.rb +3 -1
  21. data/db/migrate/20130914211030_create_host_bootdisk_template.rb +4 -4
  22. data/db/migrate/20130915104500_edit_host_bootdisk_template_multinic.rb +4 -4
  23. data/db/migrate/20130915133321_create_kickstart_bootdisk_template.rb +4 -4
  24. data/db/migrate/20130915201457_create_generic_host_bootdisk_template.rb +4 -4
  25. data/db/migrate/20131021095100_edit_host_bootdisk_template_dns_secondary.rb +4 -4
  26. data/db/migrate/20140522185700_change_templatekind_to_bootdisk.rb +16 -14
  27. data/db/migrate/20171009225200_remove_duplicate_bootdisk_templates.rb +4 -2
  28. data/db/seeds.d/50-bootdisk_templates.rb +21 -36
  29. data/lib/foreman_bootdisk.rb +2 -0
  30. data/lib/foreman_bootdisk/engine.rb +26 -37
  31. data/lib/foreman_bootdisk/version.rb +3 -1
  32. data/lib/tasks/bootdisk.rake +34 -17
  33. data/locale/ca/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  34. data/locale/ca/foreman_bootdisk.po +31 -15
  35. data/locale/de/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  36. data/locale/de/foreman_bootdisk.po +39 -21
  37. data/locale/en/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  38. data/locale/en/foreman_bootdisk.po +24 -9
  39. data/locale/en_GB/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  40. data/locale/en_GB/foreman_bootdisk.po +30 -15
  41. data/locale/es/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  42. data/locale/es/foreman_bootdisk.po +48 -33
  43. data/locale/foreman_bootdisk.pot +80 -52
  44. data/locale/fr/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  45. data/locale/fr/foreman_bootdisk.po +30 -15
  46. data/locale/gemspec.rb +3 -1
  47. data/locale/it/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  48. data/locale/it/foreman_bootdisk.po +28 -13
  49. data/locale/ja/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  50. data/locale/ja/foreman_bootdisk.po +29 -14
  51. data/locale/ko/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  52. data/locale/ko/foreman_bootdisk.po +28 -13
  53. data/locale/pt_BR/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  54. data/locale/pt_BR/foreman_bootdisk.po +42 -26
  55. data/locale/ru/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  56. data/locale/ru/foreman_bootdisk.po +28 -13
  57. data/locale/sv_SE/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  58. data/locale/sv_SE/foreman_bootdisk.po +26 -11
  59. data/locale/zh_CN/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  60. data/locale/zh_CN/foreman_bootdisk.po +46 -31
  61. data/locale/zh_TW/LC_MESSAGES/foreman_bootdisk.mo +0 -0
  62. data/locale/zh_TW/foreman_bootdisk.po +28 -13
  63. data/release-gem +84 -0
  64. data/test/functional/foreman_bootdisk/api/v2/disks_controller_test.rb +35 -33
  65. data/test/functional/foreman_bootdisk/api/v2/subnet_disks_controller_test.rb +9 -7
  66. data/test/functional/foreman_bootdisk/disks_controller_test.rb +27 -25
  67. data/test/models/host/managed_test.rb +17 -13
  68. data/test/test_plugin_helper.rb +11 -7
  69. data/test/unit/access_permissions_test.rb +2 -0
  70. data/test/unit/concerns/compute_resources/vmware_test.rb +67 -63
  71. data/test/unit/concerns/host_test.rb +64 -53
  72. data/test/unit/concerns/orchestration/compute_test.rb +41 -39
  73. data/test/unit/foreman_bootdisk/renderer_test.rb +3 -1
  74. data/test/unit/foreman_bootdisk/scope/bootdisk_test.rb +3 -1
  75. data/test/unit/foreman_bootdisk/scope/full_host_bootdisk_test.rb +30 -0
  76. data/test/unit/iso_generator_test.rb +67 -40
  77. metadata +65 -5
@@ -4,13 +4,13 @@
4
4
  #
5
5
  # Translators:
6
6
  # Andi Chandler <andi@gowling.com>, 2015-2017
7
- # Dominic Cleal <dominic@cleal.org>, 2014
8
- # Dominic Cleal <dominic@cleal.org>, 2016
7
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2014
8
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2016
9
9
  msgid ""
10
10
  msgstr ""
11
- "Project-Id-Version: Foreman\n"
11
+ "Project-Id-Version: foreman_bootdisk 16.1.0\n"
12
12
  "Report-Msgid-Bugs-To: \n"
13
- "PO-Revision-Date: 2017-10-12 21:14+0000\n"
13
+ "PO-Revision-Date: 2019-12-23 01:05+0000\n"
14
14
  "Last-Translator: Andi Chandler <andi@gowling.com>\n"
15
15
  "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/fore"
16
16
  "man/language/en_GB/)\n"
@@ -23,6 +23,9 @@ msgstr ""
23
23
  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."
24
24
  msgstr "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."
25
25
 
26
+ msgid "Action with sub plans"
27
+ msgstr "Action with sub plans"
28
+
26
29
  msgid "All images are usable as either ISOs or as disk images, including being written to a USB disk with `dd`."
27
30
  msgstr "All images are usable as either ISOs or as disk images, including being written to a USB disk with `dd`."
28
31
 
@@ -39,7 +42,7 @@ msgid "Boot disk based"
39
42
  msgstr "Boot disk based"
40
43
 
41
44
  msgid "Boot disk download not available for %s architecture"
42
- msgstr ""
45
+ msgstr "Boot disk download not available for %s architecture"
43
46
 
44
47
  msgid "Boot disk embedded template"
45
48
  msgstr "Boot disk embedded template"
@@ -47,6 +50,9 @@ msgstr "Boot disk embedded template"
47
50
  msgid "Boot disks"
48
51
  msgstr "Boot disks"
49
52
 
53
+ msgid "Both IP and Subnet must be set"
54
+ msgstr ""
55
+
50
56
  msgid "Command to generate ISO image, use genisoimage or mkisofs"
51
57
  msgstr "Command to generate ISO image, use genisoimage or mkisofs"
52
58
 
@@ -95,8 +101,11 @@ msgstr "Help"
95
101
  msgid "Host '%s' image"
96
102
  msgstr "Host '%s' image"
97
103
 
98
- msgid "Host has no IP address defined"
99
- msgstr "Host has no IP address defined"
104
+ msgid "Host bootdisk does not work with static IPv6"
105
+ msgstr ""
106
+
107
+ msgid "Host has no IPv4 or IPv6 address defined"
108
+ msgstr ""
100
109
 
101
110
  msgid "Host has no domain defined"
102
111
  msgstr "Host has no domain defined"
@@ -128,6 +137,12 @@ msgstr "ISO hybrid conversion failed"
128
137
  msgid "ISOLINUX directory"
129
138
  msgstr "ISOLINUX directory"
130
139
 
140
+ msgid "Import Puppet classes"
141
+ msgstr "Import Puppet classes"
142
+
143
+ msgid "Import facts"
144
+ msgstr "Import facts"
145
+
131
146
  msgid "Installation media caching"
132
147
  msgstr "Installation media caching"
133
148
 
@@ -158,18 +173,15 @@ msgstr "Please ensure the isolinux/syslinux package(s) are installed."
158
173
  msgid "Plugin for Foreman that creates iPXE-based boot disks to provision hosts without the need for PXE infrastructure."
159
174
  msgstr "Plugin for Foreman that creates iPXE-based boot disks to provision hosts without the need for PXE infrastructure."
160
175
 
176
+ msgid "Remote action:"
177
+ msgstr "Remote action:"
178
+
161
179
  msgid "SYSLINUX directory"
162
180
  msgstr "SYSLINUX directory"
163
181
 
164
182
  msgid "Subnet '%s' generic image"
165
183
  msgstr "Subnet '%s' generic image"
166
184
 
167
- msgid "Subnet (%s) has no gateway defined"
168
- msgstr "Subnet (%s) has no gateway defined"
169
-
170
- msgid "Subnet (%s) has no primary DNS server defined"
171
- msgstr "Subnet (%s) has no primary DNS server defined"
172
-
173
185
  msgid "Subnet boot disks"
174
186
  msgstr "Subnet boot disks"
175
187
 
@@ -197,8 +209,11 @@ msgstr "True for full, false for basic reusable image"
197
209
  msgid "Unable to find template specified by %s setting"
198
210
  msgstr "Unable to find template specified by %s setting"
199
211
 
200
- msgid "Unable to generate disk template: %s"
201
- msgstr "Unable to generate disk template: %s"
212
+ msgid "Unable to generate disk PXELinux template: %s"
213
+ msgstr ""
214
+
215
+ msgid "Unable to generate disk template, PXELinux template not found."
216
+ msgstr ""
202
217
 
203
218
  msgid "Upload ISO image to datastore for %s"
204
219
  msgstr "Upload ISO image to datastore for %s"
@@ -3,14 +3,14 @@
3
3
  # This file is distributed under the same license as the foreman_bootdisk package.
4
4
  #
5
5
  # Translators:
6
- # Sergio Ocón <sergio.ocon@redhat.com>, 2015
6
+ # Sergio Ocón <sergio.ocon@redhat.com>, 2014-2015
7
7
  # Sergio Ocón <sergio.ocon@redhat.com>, 2014
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: Foreman\n"
10
+ "Project-Id-Version: foreman_bootdisk 16.1.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
- "PO-Revision-Date: 2017-09-20 00:09+0000\n"
13
- "Last-Translator: Lukáš Zapletal\n"
12
+ "PO-Revision-Date: 2019-10-22 20:06+0000\n"
13
+ "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
14
14
  "Language-Team: Spanish (http://www.transifex.com/foreman/foreman/language/es/)"
15
15
  "\n"
16
16
  "MIME-Version: 1.0\n"
@@ -22,11 +22,14 @@ msgstr ""
22
22
  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
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."
24
24
 
25
+ msgid "Action with sub plans"
26
+ msgstr "Acción con subplanes"
27
+
25
28
  msgid "All images are usable as either ISOs or as disk images, including being written to a USB disk with `dd`."
26
29
  msgstr "Todas las imágenes pueden utilizarse como ISO o como imágenes de disco, incluso tras copiarlas en un disco USB con `dd`"
27
30
 
28
31
  msgid "Attach ISO image to CDROM drive for %s"
29
- msgstr ""
32
+ msgstr "Adjuntar imagen ISO a la unidad CDROM para %s"
30
33
 
31
34
  msgid "Back"
32
35
  msgstr "Atrás"
@@ -35,17 +38,20 @@ msgid "Boot disk"
35
38
  msgstr "Disco de arranque"
36
39
 
37
40
  msgid "Boot disk based"
38
- msgstr ""
41
+ msgstr "Basado en el disco de arranque"
39
42
 
40
43
  msgid "Boot disk download not available for %s architecture"
41
- msgstr ""
44
+ msgstr "Descarga de disco de arranque no disponible para la arquitectura %s"
42
45
 
43
46
  msgid "Boot disk embedded template"
44
- msgstr ""
47
+ msgstr "Plantilla inserta en el disco de arranque"
45
48
 
46
49
  msgid "Boot disks"
47
50
  msgstr "Discos de arranque"
48
51
 
52
+ msgid "Both IP and Subnet must be set"
53
+ msgstr ""
54
+
49
55
  msgid "Command to generate ISO image, use genisoimage or mkisofs"
50
56
  msgstr "Comando para generar una imagen ISO, use genisoimage o mkisofs"
51
57
 
@@ -59,16 +65,16 @@ msgid "Download subnet generic image"
59
65
  msgstr "Descargar imagen genérica de la subred"
60
66
 
61
67
  msgid "Failed to attach ISO image to CDROM drive of instance %{name}: %{message}"
62
- msgstr ""
68
+ msgstr "Ocurrió un error al adjuntar la imagen ISP a la unidad CDROM de la instancia %{name}: %{message}"
63
69
 
64
70
  msgid "Failed to generate ISO image for instance %{name}: %{message}"
65
- msgstr ""
71
+ msgstr "Ocurrió un error al generar la imagen ISP para la instancia %{name}: %{message}"
66
72
 
67
73
  msgid "Failed to render boot disk template"
68
74
  msgstr "No se pudo reproducir la plantilla del disco de arranque."
69
75
 
70
76
  msgid "Failed to upload ISO image for instance %{name}: %{message}"
71
- msgstr ""
77
+ msgstr "Ocurrió un error al subir la imagen ISP para la instancia %{name}: %{message}"
72
78
 
73
79
  msgid "Full host '%s' image"
74
80
  msgstr "Imagen completa de host '%s'"
@@ -77,13 +83,13 @@ msgid "Full host image"
77
83
  msgstr "Imagen completa de host"
78
84
 
79
85
  msgid "Generating ISO image for %s"
80
- msgstr ""
86
+ msgstr "Generando imagen para %s"
81
87
 
82
88
  msgid "Generic image"
83
89
  msgstr "Imagen genérica"
84
90
 
85
91
  msgid "Generic image template"
86
- msgstr ""
92
+ msgstr "Plantilla de imagen genérica"
87
93
 
88
94
  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."
89
95
  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."
@@ -94,8 +100,11 @@ msgstr "Ayuda"
94
100
  msgid "Host '%s' image"
95
101
  msgstr "Imagen del host '%s'"
96
102
 
97
- msgid "Host has no IP address defined"
98
- msgstr "El host no tiene dirección IP definida"
103
+ msgid "Host bootdisk does not work with static IPv6"
104
+ msgstr ""
105
+
106
+ msgid "Host has no IPv4 or IPv6 address defined"
107
+ msgstr ""
99
108
 
100
109
  msgid "Host has no domain defined"
101
110
  msgstr "El host no tiene dominio definido"
@@ -110,7 +119,7 @@ msgid "Host image"
110
119
  msgstr "Imágen de host"
111
120
 
112
121
  msgid "Host image template"
113
- msgstr ""
122
+ msgstr "Plantilla de imagen de host"
114
123
 
115
124
  msgid "Host is not in build mode, so the template cannot be rendered"
116
125
  msgstr "El host no está en modo build, así que no se puede producir la plantilla"
@@ -119,16 +128,22 @@ msgid "ISO build failed"
119
128
  msgstr "Error en la construcción del ISO"
120
129
 
121
130
  msgid "ISO generation command"
122
- msgstr ""
131
+ msgstr "Comando de generación ISO"
123
132
 
124
133
  msgid "ISO hybrid conversion failed"
125
134
  msgstr "Error en la conversión del ISO Híbrido"
126
135
 
127
136
  msgid "ISOLINUX directory"
128
- msgstr ""
137
+ msgstr "Directorio ISOLINUX"
138
+
139
+ msgid "Import Puppet classes"
140
+ msgstr "Importar clases Puppet"
141
+
142
+ msgid "Import facts"
143
+ msgstr "Importar datos"
129
144
 
130
145
  msgid "Installation media caching"
131
- msgstr ""
146
+ msgstr "Habilitando caché de medios de instalación"
132
147
 
133
148
  msgid "Installation media files will be cached for full host images"
134
149
  msgstr "Archivos de medios de instalación se almacenarán en caché para imágenes completas de host"
@@ -140,7 +155,7 @@ msgid "Path to directory containing iPXE images"
140
155
  msgstr "Ruta al directorio que contiene las imágenes iPXE"
141
156
 
142
157
  msgid "Path to directory containing isolinux images"
143
- msgstr ""
158
+ msgstr "Ruta al directorio que contiene imágenes isolinux"
144
159
 
145
160
  msgid "Path to directory containing syslinux images"
146
161
  msgstr "Ruta al directorio que contiene las imágenes syslinux"
@@ -149,26 +164,23 @@ msgid "Per-host images contain data about a particular host registered in Forema
149
164
  msgstr "Las imágenes por-host contienen datos sobre un host en particular registrado en Foreman y configuran una red completamente estática, sin necesidad de DHCP. Tras configurar la red, encadenan desde Foreman, cogiendo la configuración actual de SO y el estado de build del servidor."
150
165
 
151
166
  msgid "Please ensure the ipxe-bootimgs package is installed."
152
- msgstr ""
167
+ msgstr "Asegúrese de que el paquete ipxe-bootimgs esté instalado."
153
168
 
154
169
  msgid "Please ensure the isolinux/syslinux package(s) are installed."
155
- msgstr ""
170
+ msgstr "Asegúrese de que el(los) paquete(s) isolinux/syslinux estén instalados."
156
171
 
157
172
  msgid "Plugin for Foreman that creates iPXE-based boot disks to provision hosts without the need for PXE infrastructure."
158
173
  msgstr "Plugin para Foreman que crea discos de arranque iPXE para provisionar hosts sin necesidad de infraestructura PXE"
159
174
 
175
+ msgid "Remote action:"
176
+ msgstr "Acción remota:"
177
+
160
178
  msgid "SYSLINUX directory"
161
- msgstr ""
179
+ msgstr "Directorio SYSLINUX"
162
180
 
163
181
  msgid "Subnet '%s' generic image"
164
182
  msgstr "Imagen genérica '%s' de la subred"
165
183
 
166
- msgid "Subnet (%s) has no gateway defined"
167
- msgstr "La subred (%s) no tiene gateway definida"
168
-
169
- msgid "Subnet (%s) has no primary DNS server defined"
170
- msgstr "La subred (%s) no tiene servidor DNS primario definido"
171
-
172
184
  msgid "Subnet boot disks"
173
185
  msgstr "Discos de arranque de la subred"
174
186
 
@@ -196,17 +208,20 @@ msgstr "Verdadero para completo, falso para imagen básica reutilizable"
196
208
  msgid "Unable to find template specified by %s setting"
197
209
  msgstr "No ha sido posible encontrar la plantilla especificada por el parámetro de configuración %s"
198
210
 
199
- msgid "Unable to generate disk template: %s"
200
- msgstr "No se pudo generar la plantilla de disco: %s"
211
+ msgid "Unable to generate disk PXELinux template: %s"
212
+ msgstr ""
213
+
214
+ msgid "Unable to generate disk template, PXELinux template not found."
215
+ msgstr ""
201
216
 
202
217
  msgid "Upload ISO image to datastore for %s"
203
- msgstr ""
218
+ msgstr "Subir imagen ISP al almacén de datos para %s"
204
219
 
205
220
  msgid "Various types of boot disks can be created to provision hosts without the need for PXE services. Boot disks can be attached to the host (physical or virtual) which boots from the disk, contacts Foreman and begins the OS installation."
206
221
  msgstr "Se puede crear varios tipos de discos de arranque para provisionar hosts sin necesidad de servicios PXE. Los discos de arranque pueden engancharse al host (físico o virtual) que arranca desde el disco, se conecta a Foreman y comienza la instalación del SO."
207
222
 
208
223
  msgid "iPXE directory"
209
- msgstr ""
224
+ msgstr "Directorio iPXE"
210
225
 
211
226
  msgid "iPXE template to use for generic host boot disks"
212
227
  msgstr "Plantilla iPXE para usar en discos de arranque de host genéricos"
@@ -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: 2018-03-12 12:56-0400\n"
12
- "PO-Revision-Date: 2018-03-12 12:56-0400\n"
11
+ "POT-Creation-Date: 2020-03-12 13:11+0100\n"
12
+ "PO-Revision-Date: 2020-03-12 13:11+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,129 +18,129 @@ 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:17
21
+ #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:19
22
22
  #: ../app/views/foreman_bootdisk/disks/help.html.erb:1
23
23
  msgid "Boot disks"
24
24
  msgstr ""
25
25
 
26
- #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:20
26
+ #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:22
27
27
  msgid "Download generic image"
28
28
  msgstr ""
29
29
 
30
- #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:28
30
+ #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:30
31
31
  msgid "Download host image"
32
32
  msgstr ""
33
33
 
34
- #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:29
34
+ #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:31
35
35
  msgid "True for full, false for basic reusable image"
36
36
  msgstr ""
37
37
 
38
- #: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:16
38
+ #: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:20
39
39
  msgid "Subnet boot disks"
40
40
  msgstr ""
41
41
 
42
- #: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:19
42
+ #: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:23
43
43
  msgid "Download subnet generic image"
44
44
  msgstr ""
45
45
 
46
- #: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:23
47
- #: ../app/controllers/foreman_bootdisk/disks_controller.rb:47
46
+ #: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:27
47
+ #: ../app/controllers/foreman_bootdisk/disks_controller.rb:53
48
48
  msgid "TFTP feature not enabled for subnet %s"
49
49
  msgstr ""
50
50
 
51
- #: ../app/controllers/foreman_bootdisk/disks_controller.rb:46
51
+ #: ../app/controllers/foreman_bootdisk/disks_controller.rb:52
52
52
  msgid "Subnet is not assigned to the host %s"
53
53
  msgstr ""
54
54
 
55
- #: ../app/controllers/foreman_bootdisk/disks_controller.rb:74
55
+ #: ../app/controllers/foreman_bootdisk/disks_controller.rb:79
56
56
  msgid "Failed to render boot disk template"
57
57
  msgstr ""
58
58
 
59
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:6
60
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:27
61
- #: ../app/models/setting/bootdisk.rb:28
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:25
62
62
  msgid "Boot disk"
63
63
  msgstr ""
64
64
 
65
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:7
65
+ #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:12
66
66
  msgid "Host '%s' image"
67
67
  msgstr ""
68
68
 
69
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:8
69
+ #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:21
70
70
  msgid "Full host '%s' image"
71
71
  msgstr ""
72
72
 
73
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:10
73
+ #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:31
74
74
  #: ../app/views/foreman_bootdisk/disks/help.html.erb:25
75
75
  msgid "Generic image"
76
76
  msgstr ""
77
77
 
78
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:13
78
+ #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:41
79
79
  msgid "Help"
80
80
  msgstr ""
81
81
 
82
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:28
82
+ #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:61
83
83
  msgid "Boot disk download not available for %s architecture"
84
84
  msgstr ""
85
85
 
86
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:36
86
+ #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:70
87
87
  msgid "Subnet '%s' generic image"
88
88
  msgstr ""
89
89
 
90
- #: ../app/models/concerns/foreman_bootdisk/host_ext.rb:5
91
- #: ../app/services/foreman_bootdisk/renderer.rb:11
90
+ #: ../app/models/concerns/foreman_bootdisk/host_ext.rb:13
91
+ #: ../app/services/foreman_bootdisk/renderer.rb:43
92
92
  msgid "Unable to find template specified by %s setting"
93
93
  msgstr ""
94
94
 
95
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:24
95
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:27
96
96
  msgid "Generating ISO image for %s"
97
97
  msgstr ""
98
98
 
99
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:26
99
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:29
100
100
  msgid "Upload ISO image to datastore for %s"
101
101
  msgstr ""
102
102
 
103
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:28
103
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:31
104
104
  msgid "Attach ISO image to CDROM drive for %s"
105
105
  msgstr ""
106
106
 
107
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:50
107
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:53
108
108
  msgid "Failed to generate ISO image for instance %{name}: %{message}"
109
109
  msgstr ""
110
110
 
111
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:59
111
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:62
112
112
  msgid "Failed to upload ISO image for instance %{name}: %{message}"
113
113
  msgstr ""
114
114
 
115
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:68
115
+ #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:71
116
116
  msgid "Failed to attach ISO image to CDROM drive of instance %{name}: %{message}"
117
117
  msgstr ""
118
118
 
119
- #: ../app/models/setting/bootdisk.rb:13
119
+ #: ../app/models/setting/bootdisk.rb:12
120
120
  msgid "Path to directory containing iPXE images"
121
121
  msgstr ""
122
122
 
123
- #: ../app/models/setting/bootdisk.rb:13
123
+ #: ../app/models/setting/bootdisk.rb:12
124
124
  msgid "iPXE directory"
125
125
  msgstr ""
126
126
 
127
- #: ../app/models/setting/bootdisk.rb:14
127
+ #: ../app/models/setting/bootdisk.rb:13
128
128
  msgid "Path to directory containing isolinux images"
129
129
  msgstr ""
130
130
 
131
- #: ../app/models/setting/bootdisk.rb:14
131
+ #: ../app/models/setting/bootdisk.rb:13
132
132
  msgid "ISOLINUX directory"
133
133
  msgstr ""
134
134
 
135
- #: ../app/models/setting/bootdisk.rb:15
135
+ #: ../app/models/setting/bootdisk.rb:14
136
136
  msgid "Path to directory containing syslinux images"
137
137
  msgstr ""
138
138
 
139
- #: ../app/models/setting/bootdisk.rb:15
139
+ #: ../app/models/setting/bootdisk.rb:14
140
140
  msgid "SYSLINUX directory"
141
141
  msgstr ""
142
142
 
143
- #: ../app/models/setting/bootdisk.rb:16
143
+ #: ../app/models/setting/bootdisk.rb:15
144
144
  msgid "iPXE template to use for host-specific boot disks"
145
145
  msgstr ""
146
146
 
@@ -152,47 +152,51 @@ msgstr ""
152
152
  msgid "iPXE template to use for generic host boot disks"
153
153
  msgstr ""
154
154
 
155
- #: ../app/models/setting/bootdisk.rb:17
155
+ #: ../app/models/setting/bootdisk.rb:18
156
156
  msgid "Generic image template"
157
157
  msgstr ""
158
158
 
159
- #: ../app/models/setting/bootdisk.rb:18
159
+ #: ../app/models/setting/bootdisk.rb:19
160
160
  msgid "Command to generate ISO image, use genisoimage or mkisofs"
161
161
  msgstr ""
162
162
 
163
- #: ../app/models/setting/bootdisk.rb:18
163
+ #: ../app/models/setting/bootdisk.rb:19
164
164
  msgid "ISO generation command"
165
165
  msgstr ""
166
166
 
167
- #: ../app/models/setting/bootdisk.rb:19
167
+ #: ../app/models/setting/bootdisk.rb:20
168
168
  msgid "Installation media files will be cached for full host images"
169
169
  msgstr ""
170
170
 
171
- #: ../app/models/setting/bootdisk.rb:19
171
+ #: ../app/models/setting/bootdisk.rb:20
172
172
  msgid "Installation media caching"
173
173
  msgstr ""
174
174
 
175
- #: ../app/services/foreman_bootdisk/iso_generator.rb:11
175
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:14
176
176
  msgid "Host is not in build mode, so the template cannot be rendered"
177
177
  msgstr ""
178
178
 
179
- #: ../app/services/foreman_bootdisk/iso_generator.rb:14
180
- msgid "Unable to generate disk template: %s"
179
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:33
180
+ msgid "Unable to generate disk template, PXELinux template not found."
181
181
  msgstr ""
182
182
 
183
- #: ../app/services/foreman_bootdisk/iso_generator.rb:46
183
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:43
184
+ msgid "Unable to generate disk PXELinux template: %s"
185
+ msgstr ""
186
+
187
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:62
184
188
  msgid "Please ensure the isolinux/syslinux package(s) are installed."
185
189
  msgstr ""
186
190
 
187
- #: ../app/services/foreman_bootdisk/iso_generator.rb:59
191
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:79
188
192
  msgid "Please ensure the ipxe-bootimgs package is installed."
189
193
  msgstr ""
190
194
 
191
- #: ../app/services/foreman_bootdisk/iso_generator.rb:79
195
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:98
192
196
  msgid "ISO build failed"
193
197
  msgstr ""
194
198
 
195
- #: ../app/services/foreman_bootdisk/iso_generator.rb:84
199
+ #: ../app/services/foreman_bootdisk/iso_generator.rb:101
196
200
  msgid "ISO hybrid conversion failed"
197
201
  msgstr ""
198
202
 
@@ -278,7 +282,7 @@ msgid "Host has no provisioning interface defined"
278
282
  msgstr ""
279
283
 
280
284
  #: ../app/views/foreman_bootdisk/host.erb:10
281
- msgid "Host has no IP address defined"
285
+ msgid "Host has no IPv4 or IPv6 address defined"
282
286
  msgstr ""
283
287
 
284
288
  #: ../app/views/foreman_bootdisk/host.erb:11
@@ -289,15 +293,39 @@ msgstr ""
289
293
  msgid "Host has no domain defined"
290
294
  msgstr ""
291
295
 
292
- #: ../lib/foreman_bootdisk/engine.rb:65
296
+ #: ../app/views/foreman_bootdisk/host.erb:19
297
+ msgid "Host bootdisk does not work with static IPv6"
298
+ msgstr ""
299
+
300
+ #: ../app/views/foreman_bootdisk/host.erb:21
301
+ msgid "Both IP and Subnet must be set"
302
+ msgstr ""
303
+
304
+ #: ../lib/foreman_bootdisk/engine.rb:54
293
305
  msgid "Boot disk based"
294
306
  msgstr ""
295
307
 
296
- #: ../lib/foreman_bootdisk/engine.rb:66
308
+ #: ../lib/foreman_bootdisk/engine.rb:55
297
309
  msgid "Boot disk embedded template"
298
310
  msgstr ""
299
311
 
300
- #: gemspec.rb:2
312
+ #: action_names.rb:2
313
+ msgid "Remote action:"
314
+ msgstr ""
315
+
316
+ #: action_names.rb:3
317
+ msgid "Import facts"
318
+ msgstr ""
319
+
320
+ #: action_names.rb:4
321
+ msgid "Import Puppet classes"
322
+ msgstr ""
323
+
324
+ #: action_names.rb:5
325
+ msgid "Action with sub plans"
326
+ msgstr ""
327
+
328
+ #: gemspec.rb:4
301
329
  msgid ""
302
330
  "Plugin for Foreman that creates iPXE-based boot disks to provision hosts witho"
303
331
  "ut the need for PXE infrastructure."