foreman_bootdisk 19.0.9 → 21.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/foreman_bootdisk/api/v2/disks_controller.rb +0 -4
- data/app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb +0 -4
- data/app/controllers/foreman_bootdisk/disks_controller.rb +5 -3
- data/app/services/foreman_bootdisk/iso_generator.rb +1 -1
- data/config/routes/mount_engine.rb +1 -1
- data/lib/foreman_bootdisk/engine.rb +9 -5
- data/lib/foreman_bootdisk/version.rb +1 -1
- data/package.json +5 -6
- data/webpack/src/extensions/host/HostBootdiskButtons.js +22 -1
- metadata +3 -42
- data/app/views/foreman_bootdisk/generic_efi_host.erb +0 -76
- data/app/views/foreman_bootdisk/generic_host.erb +0 -51
- data/app/views/foreman_bootdisk/generic_static_host.erb +0 -39
- data/app/views/foreman_bootdisk/host.erb +0 -80
- data/db/migrate/20221102105354_fix_bootdisk_settings_category_to_dsl.rb +0 -7
- data/db/seeds.d/50-bootdisk_templates.rb +0 -36
- data/lib/foreman_bootdisk/engine.rb.orig +0 -162
- data/locale/ca/foreman_bootdisk.edit.po +0 -416
- data/locale/ca/foreman_bootdisk.po.time_stamp +0 -0
- data/locale/cs_CZ/foreman_bootdisk.edit.po +0 -362
- data/locale/cs_CZ/foreman_bootdisk.po.time_stamp +0 -0
- data/locale/de/foreman_bootdisk.edit.po +0 -422
- data/locale/de/foreman_bootdisk.po.time_stamp +0 -0
- data/locale/en/foreman_bootdisk.edit.po +0 -360
- data/locale/en/foreman_bootdisk.po.time_stamp +0 -0
- data/locale/en_GB/foreman_bootdisk.edit.po +0 -417
- data/locale/en_GB/foreman_bootdisk.po.time_stamp +0 -0
- data/locale/es/foreman_bootdisk.edit.po +0 -417
- data/locale/es/foreman_bootdisk.po.time_stamp +0 -0
- data/locale/fr/foreman_bootdisk.edit.po +0 -418
- data/locale/fr/foreman_bootdisk.po.time_stamp +0 -0
- data/locale/it/foreman_bootdisk.edit.po +0 -414
- data/locale/it/foreman_bootdisk.po.time_stamp +0 -0
- data/locale/ja/foreman_bootdisk.edit.po +0 -416
- data/locale/ja/foreman_bootdisk.po.time_stamp +0 -0
- data/locale/ka/foreman_bootdisk.edit.po +0 -414
- data/locale/ka/foreman_bootdisk.po.time_stamp +0 -0
- data/locale/ko/foreman_bootdisk.edit.po +0 -414
- data/locale/ko/foreman_bootdisk.po.time_stamp +0 -0
- data/locale/pt_BR/foreman_bootdisk.edit.po +0 -417
- data/locale/pt_BR/foreman_bootdisk.po.time_stamp +0 -0
- data/locale/ru/foreman_bootdisk.edit.po +0 -416
- data/locale/ru/foreman_bootdisk.po.time_stamp +0 -0
- data/locale/sv_SE/foreman_bootdisk.edit.po +0 -415
- data/locale/sv_SE/foreman_bootdisk.po.time_stamp +0 -0
- data/locale/zh_CN/foreman_bootdisk.edit.po +0 -414
- data/locale/zh_CN/foreman_bootdisk.po.time_stamp +0 -0
- data/locale/zh_TW/foreman_bootdisk.edit.po +0 -414
- data/locale/zh_TW/foreman_bootdisk.po.time_stamp +0 -0
@@ -1,162 +0,0 @@
|
|
1
|
-
# frozen_string_literal: true
|
2
|
-
|
3
|
-
require 'foreman_bootdisk'
|
4
|
-
require 'fast_gettext'
|
5
|
-
require 'gettext_i18n_rails'
|
6
|
-
|
7
|
-
module ForemanBootdisk
|
8
|
-
class Engine < ::Rails::Engine
|
9
|
-
engine_name 'foreman_bootdisk'
|
10
|
-
isolate_namespace ForemanBootdisk
|
11
|
-
|
12
|
-
config.autoload_paths += Dir["#{config.root}/app/controllers/concerns"]
|
13
|
-
config.autoload_paths += Dir["#{config.root}/app/helpers"]
|
14
|
-
config.autoload_paths += Dir["#{config.root}/app/models/concerns"]
|
15
|
-
config.autoload_paths += Dir["#{config.root}/app/lib"]
|
16
|
-
|
17
|
-
initializer 'foreman_bootdisk.mount_engine' do |app|
|
18
|
-
app.routes_reloader.paths << "#{ForemanBootdisk::Engine.root}/config/routes/mount_engine.rb"
|
19
|
-
end
|
20
|
-
|
21
|
-
initializer 'foreman_bootdisk.load_app_instance_data' do |app|
|
22
|
-
ForemanBootdisk::Engine.paths['db/migrate'].existent.each do |path|
|
23
|
-
app.config.paths['db/migrate'] << path
|
24
|
-
end
|
25
|
-
end
|
26
|
-
|
27
|
-
initializer 'foreman_bootdisk.apipie' do
|
28
|
-
Apipie.configuration.checksum_path += ['/bootdisk/api/']
|
29
|
-
end
|
30
|
-
|
31
|
-
# Temporary workaround fix for helpers
|
32
|
-
initializer 'foreman_bootdisk.rails_loading_workaround' do
|
33
|
-
HostsHelper.prepend ForemanBootdisk::HostsHelperExt
|
34
|
-
SubnetsHelper.include ForemanBootdisk::SubnetsHelperExt
|
35
|
-
end
|
36
|
-
|
37
|
-
initializer 'foreman_bootdisk.register_plugin', before: :finisher_hook do |_app|
|
38
|
-
Foreman::Plugin.register :foreman_bootdisk do
|
39
|
-
requires_foreman '>= 3.7'
|
40
|
-
<<<<<<< HEAD
|
41
|
-
=======
|
42
|
-
register_gettext
|
43
|
-
|
44
|
-
>>>>>>> 4665a6a (Translation improvements)
|
45
|
-
# Add Global files for extending foreman-core components and routes
|
46
|
-
register_global_js_file 'global'
|
47
|
-
register_gettext
|
48
|
-
|
49
|
-
security_block :bootdisk do |_map|
|
50
|
-
permission :download_bootdisk, 'foreman_bootdisk/disks': %i[generic host full_host help bootdisk_options],
|
51
|
-
'foreman_bootdisk/subnet_disks': [:subnet],
|
52
|
-
'foreman_bootdisk/api/v2/disks': %i[generic host],
|
53
|
-
'foreman_bootdisk/api/v2/subnet_disks': [:subnet]
|
54
|
-
end
|
55
|
-
|
56
|
-
role 'Boot disk access', [:download_bootdisk], 'Role granting permissions to download bootdisks'
|
57
|
-
add_all_permissions_to_default_roles
|
58
|
-
|
59
|
-
apipie_documented_controllers ["#{ForemanBootdisk::Engine.root}/app/controllers/foreman_bootdisk/api/v2/*.rb"]
|
60
|
-
ApipieDSL.configuration.dsl_classes_matchers += [
|
61
|
-
"#{ForemanBootdisk::Engine.root}/app/lib/foreman_bootdisk/scope/*.rb"
|
62
|
-
]
|
63
|
-
provision_method 'bootdisk', N_('Boot disk based')
|
64
|
-
allowed_template_helpers :bootdisk_chain_url, :bootdisk_raise
|
65
|
-
|
66
|
-
extend_page "subnets/index" do |cx|
|
67
|
-
cx.add_pagelet :subnet_index_action_buttons, name: 'Bootdisk', partial: 'subnets/bootdisk_action_buttons'
|
68
|
-
cx.add_pagelet :subnet_index_title_buttons, name: 'Bootdisk', partial: 'subnets/bootdisk_title_buttons'
|
69
|
-
end
|
70
|
-
|
71
|
-
settings do
|
72
|
-
category :bootdisk, N_("Boot disk") do
|
73
|
-
ipxe = ['/usr/lib/ipxe'].find { |p| File.exist?(p) } || '/usr/share/ipxe'
|
74
|
-
isolinux = ['/usr/lib/ISOLINUX'].find { |p| File.exist?(p) } || '/usr/share/syslinux'
|
75
|
-
syslinux = ['/usr/lib/syslinux/modules/bios', '/usr/lib/syslinux'].find { |p| File.exist?(p) } || '/usr/share/syslinux'
|
76
|
-
grub2 = ['/var/lib/tftpboot/grub2'].find { |p| File.exist?(p) } || '/var/lib/foreman/bootdisk'
|
77
|
-
templates = -> {
|
78
|
-
Hash[ProvisioningTemplate.where(template_kind: TemplateKind.where(name: 'Bootdisk')).map { |temp| [temp[:name], temp[:name]] }]
|
79
|
-
}
|
80
|
-
|
81
|
-
setting "bootdisk_ipxe_dir",
|
82
|
-
type: :string,
|
83
|
-
default: ipxe,
|
84
|
-
full_name: N_("iPXE directory"),
|
85
|
-
description: N_("Path to directory containing iPXE images")
|
86
|
-
|
87
|
-
setting "bootdisk_isolinux_dir",
|
88
|
-
type: :string,
|
89
|
-
default: isolinux,
|
90
|
-
full_name: N_("ISOLINUX directory"),
|
91
|
-
description: N_("Path to directory containing isolinux images")
|
92
|
-
|
93
|
-
setting "bootdisk_syslinux_dir",
|
94
|
-
type: :string,
|
95
|
-
default: syslinux,
|
96
|
-
full_name: N_("SYSLINUX directory"),
|
97
|
-
description: N_("Path to directory containing syslinux images")
|
98
|
-
|
99
|
-
setting "bootdisk_grub2_dir",
|
100
|
-
type: :string,
|
101
|
-
default: grub2,
|
102
|
-
full_name: N_("Grub2 directory"),
|
103
|
-
description: N_("Path to directory containing grubx64.efi and shimx64.efi")
|
104
|
-
|
105
|
-
setting "bootdisk_host_template",
|
106
|
-
type: :string,
|
107
|
-
collection: templates,
|
108
|
-
default: "Boot disk iPXE - host",
|
109
|
-
full_name: N_("Host image template"),
|
110
|
-
description: N_("iPXE template to use for host-specific boot disks")
|
111
|
-
|
112
|
-
setting "bootdisk_generic_host_template",
|
113
|
-
type: :string,
|
114
|
-
collection: templates,
|
115
|
-
default: "Boot disk iPXE - generic host",
|
116
|
-
full_name: N_("Generic image template"),
|
117
|
-
description: N_("iPXE template to use for generic host boot disks")
|
118
|
-
|
119
|
-
setting "bootdisk_generic_efi_host_template",
|
120
|
-
type: :string,
|
121
|
-
collection: templates,
|
122
|
-
default: "Boot disk Grub2 EFI - generic host",
|
123
|
-
full_name: N_("Generic Grub2 EFI image template"),
|
124
|
-
description: N_("iPXE template to use for generic EFI host boot disks")
|
125
|
-
|
126
|
-
setting "bootdisk_mkiso_command",
|
127
|
-
type: :string,
|
128
|
-
default: "genisoimage",
|
129
|
-
full_name: N_("ISO generation command"),
|
130
|
-
description: N_("Command to generate ISO image, use genisoimage or mkisofs")
|
131
|
-
|
132
|
-
setting "bootdisk_cache_media",
|
133
|
-
type: :boolean,
|
134
|
-
default: true,
|
135
|
-
full_name: N_("Installation media caching"),
|
136
|
-
description: N_("Installation media files will be cached for full host images")
|
137
|
-
|
138
|
-
setting "bootdisk_allowed_types",
|
139
|
-
type: :array,
|
140
|
-
default: Setting::Bootdisk.bootdisk_types,
|
141
|
-
full_name: N_("Allowed bootdisk types"),
|
142
|
-
description: N_("List of allowed bootdisk types, remove type to disable it")
|
143
|
-
end
|
144
|
-
end
|
145
|
-
end
|
146
|
-
end
|
147
|
-
|
148
|
-
config.to_prepare do
|
149
|
-
begin
|
150
|
-
Host::Managed.prepend ForemanBootdisk::HostExt
|
151
|
-
Host::Managed.include ForemanBootdisk::Orchestration::Compute
|
152
|
-
Foreman::Model::Vmware.prepend ForemanBootdisk::ComputeResources::Vmware if Foreman::Model::Vmware.available?
|
153
|
-
rescue StandardError => e
|
154
|
-
Rails.logger.warn "#{ForemanBootdisk::ENGINE_NAME}: skipping engine hook (#{e})"
|
155
|
-
end
|
156
|
-
end
|
157
|
-
end
|
158
|
-
|
159
|
-
def self.logger
|
160
|
-
Foreman::Logging.logger('foreman_bootdisk')
|
161
|
-
end
|
162
|
-
end
|
@@ -1,416 +0,0 @@
|
|
1
|
-
# SOME DESCRIPTIVE TITLE.
|
2
|
-
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
-
# This file is distributed under the same license as the foreman_bootdisk package.
|
4
|
-
#
|
5
|
-
# Translators:
|
6
|
-
# Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2017
|
7
|
-
# Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2015-2016
|
8
|
-
msgid ""
|
9
|
-
msgstr ""
|
10
|
-
"Project-Id-Version: foreman_bootdisk 21.0.4\n"
|
11
|
-
"Report-Msgid-Bugs-To: \n"
|
12
|
-
"POT-Creation-Date: 2023-01-05 20:17+0100\n"
|
13
|
-
"PO-Revision-Date: 2014-02-13 12:12+0000\n"
|
14
|
-
"Last-Translator: Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2017\n"
|
15
|
-
"Language-Team: Catalan (http://app.transifex.com/foreman/foreman/language/ca/)\n"
|
16
|
-
"MIME-Version: 1.0\n"
|
17
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
18
|
-
"Content-Transfer-Encoding: 8bit\n"
|
19
|
-
"Language: ca\n"
|
20
|
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
21
|
-
|
22
|
-
#: ../app/controllers/concerns/allowed_actions.rb:7
|
23
|
-
msgid "This type of bootdisk is not allowed. Please contact administrator."
|
24
|
-
msgstr ""
|
25
|
-
|
26
|
-
#: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:17
|
27
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:1
|
28
|
-
msgid "Boot disks"
|
29
|
-
msgstr "Discs d'arrencada"
|
30
|
-
|
31
|
-
#: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:20
|
32
|
-
msgid "Download generic image"
|
33
|
-
msgstr "Baixa la imatge genèrica"
|
34
|
-
|
35
|
-
#: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:29
|
36
|
-
msgid "Download host image"
|
37
|
-
msgstr "Baixa la imatge d'amfitrió"
|
38
|
-
|
39
|
-
#: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:30
|
40
|
-
msgid "True for full, false for basic reusable image"
|
41
|
-
msgstr ""
|
42
|
-
|
43
|
-
#: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:42
|
44
|
-
#: ../app/controllers/foreman_bootdisk/disks_controller.rb:126
|
45
|
-
#: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:90
|
46
|
-
msgid "Host is not in build mode"
|
47
|
-
msgstr ""
|
48
|
-
|
49
|
-
#: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:19
|
50
|
-
msgid "Subnet boot disks"
|
51
|
-
msgstr "Discs d'arrencada de subxarxa"
|
52
|
-
|
53
|
-
#: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:22
|
54
|
-
msgid "Download subnet generic image"
|
55
|
-
msgstr "Baixa la imatge genèrica de subxarxa"
|
56
|
-
|
57
|
-
#: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:26
|
58
|
-
#: ../app/controllers/foreman_bootdisk/subnet_disks_controller.rb:15
|
59
|
-
msgid "TFTP feature not enabled for subnet %s"
|
60
|
-
msgstr "La funcionalitat TFTP no està habilitada per a la subxarxa %s"
|
61
|
-
|
62
|
-
#: ../app/controllers/foreman_bootdisk/disks_controller.rb:63
|
63
|
-
msgid "Host is not in build mode."
|
64
|
-
msgstr ""
|
65
|
-
|
66
|
-
#: ../app/controllers/foreman_bootdisk/disks_controller.rb:95
|
67
|
-
#: ../app/helpers/concerns/foreman_bootdisk/pretty_error.rb:8
|
68
|
-
msgid "Failed to render boot disk template"
|
69
|
-
msgstr ""
|
70
|
-
|
71
|
-
#: ../app/controllers/foreman_bootdisk/disks_controller.rb:120
|
72
|
-
#: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:66
|
73
|
-
msgid "Host '%s' image"
|
74
|
-
msgstr ""
|
75
|
-
|
76
|
-
#: ../app/controllers/foreman_bootdisk/disks_controller.rb:120
|
77
|
-
#: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:76
|
78
|
-
#: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:86
|
79
|
-
msgid "Full host '%s' image"
|
80
|
-
msgstr ""
|
81
|
-
|
82
|
-
#: ../app/controllers/foreman_bootdisk/disks_controller.rb:133
|
83
|
-
msgid "Boot disk help"
|
84
|
-
msgstr ""
|
85
|
-
|
86
|
-
#: ../app/helpers/bootdisk_links_helper.rb:27
|
87
|
-
msgid "Boot disk Help"
|
88
|
-
msgstr ""
|
89
|
-
|
90
|
-
#: ../app/helpers/bootdisk_links_helper.rb:40
|
91
|
-
#: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:20
|
92
|
-
#: ../app/models/setting/bootdisk.rb:6 ../lib/foreman_bootdisk/engine.rb:66
|
93
|
-
#: ../webpack/src/extensions/host/HostBootdiskButtons.js:86
|
94
|
-
msgid "Boot disk"
|
95
|
-
msgstr "Disc d'arrencada"
|
96
|
-
|
97
|
-
#: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:21
|
98
|
-
#: ../webpack/src/extensions/host/HostBootdiskButtons.js:74
|
99
|
-
msgid "Boot disk download not available for %s architecture"
|
100
|
-
msgstr ""
|
101
|
-
|
102
|
-
#: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:30
|
103
|
-
msgid "Subnet '%s' generic image"
|
104
|
-
msgstr ""
|
105
|
-
|
106
|
-
#: ../app/helpers/concerns/foreman_bootdisk/subnets_helper_ext.rb:10
|
107
|
-
msgid "Subnet generic image"
|
108
|
-
msgstr ""
|
109
|
-
|
110
|
-
#: ../app/helpers/concerns/foreman_bootdisk/subnets_helper_ext.rb:27
|
111
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:35
|
112
|
-
msgid "Generic image"
|
113
|
-
msgstr "Imatge genèrica"
|
114
|
-
|
115
|
-
#: ../app/models/concerns/foreman_bootdisk/host_ext.rb:12
|
116
|
-
#: ../app/services/foreman_bootdisk/renderer.rb:53
|
117
|
-
#: ../app/services/foreman_bootdisk/renderer.rb:60
|
118
|
-
msgid "Unable to find template specified by %s setting"
|
119
|
-
msgstr "No es pot trobar la plantilla especificada per l'ajust %s"
|
120
|
-
|
121
|
-
#: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:30
|
122
|
-
msgid "Generating ISO image for %s"
|
123
|
-
msgstr ""
|
124
|
-
|
125
|
-
#: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:32
|
126
|
-
msgid "Upload ISO image to datastore for %s"
|
127
|
-
msgstr ""
|
128
|
-
|
129
|
-
#: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:34
|
130
|
-
msgid "Attach ISO image to CDROM drive for %s"
|
131
|
-
msgstr ""
|
132
|
-
|
133
|
-
#: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:38
|
134
|
-
msgid "Detach ISO image from CDROM drive for %s"
|
135
|
-
msgstr ""
|
136
|
-
|
137
|
-
#: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:73
|
138
|
-
msgid "Failed to generate ISO image for instance %{name}: %{message}"
|
139
|
-
msgstr ""
|
140
|
-
|
141
|
-
#: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:82
|
142
|
-
msgid "Failed to upload ISO image for instance %{name}: %{message}"
|
143
|
-
msgstr ""
|
144
|
-
|
145
|
-
#: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:91
|
146
|
-
msgid ""
|
147
|
-
"Failed to attach ISO image to CDROM drive of instance %{name}: %{message}"
|
148
|
-
msgstr ""
|
149
|
-
|
150
|
-
#: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:100
|
151
|
-
msgid ""
|
152
|
-
"Failed to detach ISO image from CDROM drive of instance %{name}: %{message}"
|
153
|
-
msgstr ""
|
154
|
-
|
155
|
-
#: ../app/services/foreman_bootdisk/iso_generator.rb:16
|
156
|
-
msgid "Host is not in build mode, so the template cannot be rendered"
|
157
|
-
msgstr ""
|
158
|
-
|
159
|
-
#: ../app/services/foreman_bootdisk/iso_generator.rb:42
|
160
|
-
msgid "Unable to generate disk template, %{kind} template not found."
|
161
|
-
msgstr ""
|
162
|
-
|
163
|
-
#: ../app/services/foreman_bootdisk/iso_generator.rb:52
|
164
|
-
msgid "Unable to generate disk %{kind} template: %{error}"
|
165
|
-
msgstr ""
|
166
|
-
|
167
|
-
#: ../app/services/foreman_bootdisk/iso_generator.rb:94
|
168
|
-
msgid "Please ensure the isolinux/syslinux package(s) are installed."
|
169
|
-
msgstr ""
|
170
|
-
|
171
|
-
#: ../app/services/foreman_bootdisk/iso_generator.rb:111
|
172
|
-
msgid "Please ensure the ipxe-bootimgs package is installed."
|
173
|
-
msgstr ""
|
174
|
-
|
175
|
-
#: ../app/services/foreman_bootdisk/iso_generator.rb:128
|
176
|
-
msgid "Creating new image failed, install truncate utility"
|
177
|
-
msgstr ""
|
178
|
-
|
179
|
-
#: ../app/services/foreman_bootdisk/iso_generator.rb:129
|
180
|
-
msgid "Failed to format the ESP image via mkfs.msdos"
|
181
|
-
msgstr ""
|
182
|
-
|
183
|
-
#: ../app/services/foreman_bootdisk/iso_generator.rb:130
|
184
|
-
#: ../app/services/foreman_bootdisk/iso_generator.rb:131
|
185
|
-
msgid "Failed to create a directory within the ESP image"
|
186
|
-
msgstr ""
|
187
|
-
|
188
|
-
#: ../app/services/foreman_bootdisk/iso_generator.rb:137
|
189
|
-
msgid "Ensure %{file} is readable (or update \"Grub2 directory\" setting)"
|
190
|
-
msgstr ""
|
191
|
-
|
192
|
-
#: ../app/services/foreman_bootdisk/iso_generator.rb:138
|
193
|
-
msgid "Unable to mcopy %{file}"
|
194
|
-
msgstr ""
|
195
|
-
|
196
|
-
#: ../app/services/foreman_bootdisk/iso_generator.rb:160
|
197
|
-
msgid "ISO build failed"
|
198
|
-
msgstr "No s'ha pogut construir l'ISO"
|
199
|
-
|
200
|
-
#: ../app/services/foreman_bootdisk/iso_generator.rb:163
|
201
|
-
msgid "ISO hybrid conversion failed: %s"
|
202
|
-
msgstr ""
|
203
|
-
|
204
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:2
|
205
|
-
msgid "Back"
|
206
|
-
msgstr "Enrere"
|
207
|
-
|
208
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:6
|
209
|
-
msgid ""
|
210
|
-
"Various types of boot disks can be created to provision hosts without the "
|
211
|
-
"need for PXE services. Boot disks can be attached to the host (physical or "
|
212
|
-
"virtual) which boots from the disk, contacts Foreman and begins the OS "
|
213
|
-
"installation."
|
214
|
-
msgstr ""
|
215
|
-
|
216
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:9
|
217
|
-
msgid ""
|
218
|
-
"All images are usable as either ISOs or as disk images, including being "
|
219
|
-
"written to a USB disk with `dd`."
|
220
|
-
msgstr ""
|
221
|
-
|
222
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:12
|
223
|
-
msgid "Host images"
|
224
|
-
msgstr ""
|
225
|
-
|
226
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:14
|
227
|
-
msgid "These images are used for host. You can find them at host detail page."
|
228
|
-
msgstr ""
|
229
|
-
|
230
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:17
|
231
|
-
msgid "Host image"
|
232
|
-
msgstr "Imatge d'amfitrió"
|
233
|
-
|
234
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:19
|
235
|
-
msgid ""
|
236
|
-
"Per-host images contain data about a particular host registered in Foreman "
|
237
|
-
"and set up fully static networking, avoiding the requirement for DHCP. "
|
238
|
-
"After networking is configured, they chainload from Foreman, picking up the "
|
239
|
-
"current OS configuration and build state from the server."
|
240
|
-
msgstr ""
|
241
|
-
|
242
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:22
|
243
|
-
msgid ""
|
244
|
-
"Once chainloaded, the OS bootloader and installer are downloaded directly "
|
245
|
-
"from the installation media configured in Foreman, and the provisioning "
|
246
|
-
"script (kickstart/preseed) is downloaded from Foreman."
|
247
|
-
msgstr ""
|
248
|
-
|
249
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:25
|
250
|
-
msgid "Full host image"
|
251
|
-
msgstr "Imatge completa d'amfitrió"
|
252
|
-
|
253
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:27
|
254
|
-
msgid ""
|
255
|
-
"A variant of the per-host image which contains the OS bootloader embedded "
|
256
|
-
"inside the disk. This may be useful if chainloading fails on certain "
|
257
|
-
"hardware, but has the downside that the image must be regenerated for any "
|
258
|
-
"change in the OS, bootloader or PXELinux templates."
|
259
|
-
msgstr ""
|
260
|
-
|
261
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:30
|
262
|
-
msgid "Generic images"
|
263
|
-
msgstr ""
|
264
|
-
|
265
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:32
|
266
|
-
msgid ""
|
267
|
-
"These images are more generic than previous images. You can find them at "
|
268
|
-
"subnet index page."
|
269
|
-
msgstr ""
|
270
|
-
|
271
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:37
|
272
|
-
msgid ""
|
273
|
-
"Generic images are a reusable disk image that works for any host registered "
|
274
|
-
"in Foreman. It requires a basic DHCP and DNS service to function and "
|
275
|
-
"contact the server, but does not require DHCP reservations or static IP "
|
276
|
-
"addresses."
|
277
|
-
msgstr ""
|
278
|
-
|
279
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:40
|
280
|
-
msgid ""
|
281
|
-
"The OS install continues using the installation media configured in Foreman,"
|
282
|
-
" and it will typically configure static networking, depending on how the OS "
|
283
|
-
"iPXE template is configured."
|
284
|
-
msgstr ""
|
285
|
-
|
286
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:43
|
287
|
-
msgid "Subnet image"
|
288
|
-
msgstr "Imatge de subxarxa"
|
289
|
-
|
290
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:45
|
291
|
-
msgid ""
|
292
|
-
"Subnet images are similar to generic images, but chain-loading is done via "
|
293
|
-
"the TFTP Smart Proxy assigned to the Subnet of the host. The smart proxy "
|
294
|
-
"must have the \"Templates\" module enabled and configured."
|
295
|
-
msgstr ""
|
296
|
-
|
297
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:48
|
298
|
-
msgid ""
|
299
|
-
"This image is generic for all hosts with a provisioning NIC on that subnet."
|
300
|
-
msgstr ""
|
301
|
-
|
302
|
-
#: ../app/views/foreman_bootdisk/disks/help.html.erb:51
|
303
|
-
msgid ""
|
304
|
-
"* - These bootdisk types were disabled, you can enable them in Administer - "
|
305
|
-
"Settings."
|
306
|
-
msgstr ""
|
307
|
-
|
308
|
-
#: ../lib/foreman_bootdisk/engine.rb:57
|
309
|
-
msgid "Boot disk based"
|
310
|
-
msgstr ""
|
311
|
-
|
312
|
-
#: ../lib/foreman_bootdisk/engine.rb:78
|
313
|
-
msgid "iPXE directory"
|
314
|
-
msgstr "Directori iPXE"
|
315
|
-
|
316
|
-
#: ../lib/foreman_bootdisk/engine.rb:79
|
317
|
-
msgid "Path to directory containing iPXE images"
|
318
|
-
msgstr "El camí al directori que conté les imatges iPXE"
|
319
|
-
|
320
|
-
#: ../lib/foreman_bootdisk/engine.rb:84
|
321
|
-
msgid "ISOLINUX directory"
|
322
|
-
msgstr ""
|
323
|
-
|
324
|
-
#: ../lib/foreman_bootdisk/engine.rb:85
|
325
|
-
msgid "Path to directory containing isolinux images"
|
326
|
-
msgstr "El camí al directori que conté les imatges isolinux"
|
327
|
-
|
328
|
-
#: ../lib/foreman_bootdisk/engine.rb:90
|
329
|
-
msgid "SYSLINUX directory"
|
330
|
-
msgstr ""
|
331
|
-
|
332
|
-
#: ../lib/foreman_bootdisk/engine.rb:91
|
333
|
-
msgid "Path to directory containing syslinux images"
|
334
|
-
msgstr "El camí al directori que conté les imatges syslinux"
|
335
|
-
|
336
|
-
#: ../lib/foreman_bootdisk/engine.rb:96
|
337
|
-
msgid "Grub2 directory"
|
338
|
-
msgstr ""
|
339
|
-
|
340
|
-
#: ../lib/foreman_bootdisk/engine.rb:97
|
341
|
-
msgid "Path to directory containing grubx64.efi and shimx64.efi"
|
342
|
-
msgstr ""
|
343
|
-
|
344
|
-
#: ../lib/foreman_bootdisk/engine.rb:103
|
345
|
-
msgid "Host image template"
|
346
|
-
msgstr ""
|
347
|
-
|
348
|
-
#: ../lib/foreman_bootdisk/engine.rb:104
|
349
|
-
msgid "iPXE template to use for host-specific boot disks"
|
350
|
-
msgstr ""
|
351
|
-
|
352
|
-
#: ../lib/foreman_bootdisk/engine.rb:110
|
353
|
-
msgid "Generic image template"
|
354
|
-
msgstr ""
|
355
|
-
|
356
|
-
#: ../lib/foreman_bootdisk/engine.rb:111
|
357
|
-
msgid "iPXE template to use for generic host boot disks"
|
358
|
-
msgstr ""
|
359
|
-
|
360
|
-
#: ../lib/foreman_bootdisk/engine.rb:117
|
361
|
-
msgid "Generic Grub2 EFI image template"
|
362
|
-
msgstr ""
|
363
|
-
|
364
|
-
#: ../lib/foreman_bootdisk/engine.rb:118
|
365
|
-
msgid "iPXE template to use for generic EFI host boot disks"
|
366
|
-
msgstr ""
|
367
|
-
|
368
|
-
#: ../lib/foreman_bootdisk/engine.rb:123
|
369
|
-
msgid "ISO generation command"
|
370
|
-
msgstr ""
|
371
|
-
|
372
|
-
#: ../lib/foreman_bootdisk/engine.rb:124
|
373
|
-
msgid "Command to generate ISO image, use genisoimage or mkisofs"
|
374
|
-
msgstr "L'ordre per generar la imatge ISO, utilitzeu genisoimage o mkisofs"
|
375
|
-
|
376
|
-
#: ../lib/foreman_bootdisk/engine.rb:129
|
377
|
-
msgid "Installation media caching"
|
378
|
-
msgstr ""
|
379
|
-
|
380
|
-
#: ../lib/foreman_bootdisk/engine.rb:130
|
381
|
-
msgid "Installation media files will be cached for full host images"
|
382
|
-
msgstr "Els fitxers dels mitjans d'instal·lació s'emmagatzemaran en memòria cau per a les imatges completes dels amfitrions"
|
383
|
-
|
384
|
-
#: ../lib/foreman_bootdisk/engine.rb:135
|
385
|
-
msgid "Allowed bootdisk types"
|
386
|
-
msgstr ""
|
387
|
-
|
388
|
-
#: ../lib/foreman_bootdisk/engine.rb:136
|
389
|
-
msgid "List of allowed bootdisk types, remove type to disable it"
|
390
|
-
msgstr ""
|
391
|
-
|
392
|
-
#: ../webpack/src/extensions/host/HostBootdiskButtons.js:80
|
393
|
-
msgid "Not available"
|
394
|
-
msgstr ""
|
395
|
-
|
396
|
-
#: action_names.rb:2
|
397
|
-
msgid "Remote action:"
|
398
|
-
msgstr ""
|
399
|
-
|
400
|
-
#: action_names.rb:3
|
401
|
-
msgid "Import Puppet classes"
|
402
|
-
msgstr ""
|
403
|
-
|
404
|
-
#: action_names.rb:4
|
405
|
-
msgid "Import facts"
|
406
|
-
msgstr ""
|
407
|
-
|
408
|
-
#: action_names.rb:5
|
409
|
-
msgid "Action with sub plans"
|
410
|
-
msgstr ""
|
411
|
-
|
412
|
-
#: gemspec.rb:4
|
413
|
-
msgid ""
|
414
|
-
"Plugin for Foreman that creates iPXE-based boot disks to provision hosts "
|
415
|
-
"without the need for PXE infrastructure."
|
416
|
-
msgstr ""
|
File without changes
|