foreman_bootdisk 21.0.5 → 21.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/app/models/concerns/foreman_bootdisk/compute_resources/vmware.rb +9 -1
  3. data/lib/foreman_bootdisk/version.rb +1 -1
  4. metadata +3 -36
  5. data/lib/foreman_bootdisk/engine.rb.orig +0 -162
  6. data/locale/ca/foreman_bootdisk.edit.po +0 -364
  7. data/locale/ca/foreman_bootdisk.po.time_stamp +0 -0
  8. data/locale/cs_CZ/foreman_bootdisk.edit.po +0 -364
  9. data/locale/cs_CZ/foreman_bootdisk.po.time_stamp +0 -0
  10. data/locale/de/foreman_bootdisk.edit.po +0 -369
  11. data/locale/de/foreman_bootdisk.po.time_stamp +0 -0
  12. data/locale/en/foreman_bootdisk.edit.po +0 -360
  13. data/locale/en/foreman_bootdisk.po.time_stamp +0 -0
  14. data/locale/en_GB/foreman_bootdisk.edit.po +0 -365
  15. data/locale/en_GB/foreman_bootdisk.po.time_stamp +0 -0
  16. data/locale/es/foreman_bootdisk.edit.po +0 -366
  17. data/locale/es/foreman_bootdisk.po.time_stamp +0 -0
  18. data/locale/fr/foreman_bootdisk.edit.po +0 -366
  19. data/locale/fr/foreman_bootdisk.po.time_stamp +0 -0
  20. data/locale/it/foreman_bootdisk.edit.po +0 -363
  21. data/locale/it/foreman_bootdisk.po.time_stamp +0 -0
  22. data/locale/ja/foreman_bootdisk.edit.po +0 -365
  23. data/locale/ja/foreman_bootdisk.po.time_stamp +0 -0
  24. data/locale/ka/foreman_bootdisk.edit.po +0 -362
  25. data/locale/ka/foreman_bootdisk.po.time_stamp +0 -0
  26. data/locale/ko/foreman_bootdisk.edit.po +0 -361
  27. data/locale/ko/foreman_bootdisk.po.time_stamp +0 -0
  28. data/locale/pt_BR/foreman_bootdisk.edit.po +0 -367
  29. data/locale/pt_BR/foreman_bootdisk.po.time_stamp +0 -0
  30. data/locale/ru/foreman_bootdisk.edit.po +0 -366
  31. data/locale/ru/foreman_bootdisk.po.time_stamp +0 -0
  32. data/locale/sv_SE/foreman_bootdisk.edit.po +0 -363
  33. data/locale/sv_SE/foreman_bootdisk.po.time_stamp +0 -0
  34. data/locale/zh_CN/foreman_bootdisk.edit.po +0 -362
  35. data/locale/zh_CN/foreman_bootdisk.po.time_stamp +0 -0
  36. data/locale/zh_TW/foreman_bootdisk.edit.po +0 -362
  37. data/locale/zh_TW/foreman_bootdisk.po.time_stamp +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f9fe6c8302c14f82f6bc2d6757d7a7b25ffc5b329aae2929a236b1e853f3f464
4
- data.tar.gz: 36645d6585624b0b5abe6d758ea9931365f625c263fd4e582b03d068f136e749
3
+ metadata.gz: ed6cfa4b92ef16322c1ae86268070b65ae41f5a08d959917902ac26920422e93
4
+ data.tar.gz: b64156cf7178bbda0de9f4751054c49347a75a9828ced1e5967e90fb65c8c64c
5
5
  SHA512:
6
- metadata.gz: acd8b31b1dbe138ae11f616e0b9b0903ded5c0ac9fb7dce327749f1d1a1c50722df4980f2f309b867f2952b1656c04619dffcc9558dd13df3b138329d12d4be5
7
- data.tar.gz: ad10b12e2f08b9daf211f507ff542dd0e29cca8c32260fb1c9de470ec202f34965c2e038f0ef6828a45532db1bab022ef46ae797fdf98866b5d49d3baa862672
6
+ metadata.gz: 6f01d82517e01853cab6990d6aa30e21c7a57fbc928561f2e287534d8a41a03b34d5fa0bbbeb1b2123620e2d40eb7b1ff6b470542a3d0e539b5ccd5302aff69f
7
+ data.tar.gz: 986c98f75224e1e84888e72509157c6c979338c75b6839cf9e2acccd5792ad1be9417384b3e07db3ac0fb7caffd059b8c7826a75650af0e7e099ce824564fdb0
@@ -32,13 +32,15 @@ module ForemanBootdisk
32
32
  end
33
33
 
34
34
  def iso_attach(iso, vm_uuid)
35
+ controller = controller_config(vm_uuid)
35
36
  options = {
36
37
  'instance_uuid' => vm_uuid,
37
38
  'iso' => "foreman_isos/#{iso}",
38
39
  'datastore' => bootdisk_datastore(vm_uuid),
39
40
  'start_connected' => true,
40
41
  'connected' => true,
41
- 'allow_guest_control' => true
42
+ 'allow_guest_control' => true,
43
+ 'controller_key' => controller[:key]
42
44
  }
43
45
  vm = find_vm_by_uuid(vm_uuid)
44
46
  vm.stop if vm.ready?
@@ -55,6 +57,12 @@ module ForemanBootdisk
55
57
  }
56
58
  client.vm_reconfig_cdrom options
57
59
  end
60
+
61
+ def controller_config(vm_uuid)
62
+ options = OpenStruct.new(server_id: vm_uuid, attributes: {type: RbVmomi::VIM.VirtualAHCIController.class})
63
+ client.add_vm_controller(options)
64
+ client.get_vm_first_sata_controller(vm_uuid)
65
+ end
58
66
  end
59
67
  end
60
68
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ForemanBootdisk
4
- VERSION = '21.0.5'
4
+ VERSION = '21.0.6'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_bootdisk
3
3
  version: !ruby/object:Gem::Version
4
- version: 21.0.5
4
+ version: 21.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominic Cleal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-01-30 00:00:00.000000000 Z
11
+ date: 2024-05-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: theforeman-rubocop
@@ -87,76 +87,43 @@ files:
87
87
  - db/migrate/20221102105354_fix_bootdisk_settings_category_to_dsl.rb
88
88
  - lib/foreman_bootdisk.rb
89
89
  - lib/foreman_bootdisk/engine.rb
90
- - lib/foreman_bootdisk/engine.rb.orig
91
90
  - lib/foreman_bootdisk/version.rb
92
91
  - lib/tasks/bootdisk.rake
93
92
  - locale/Makefile
94
93
  - locale/action_names.rb
95
94
  - locale/ca/LC_MESSAGES/foreman_bootdisk.mo
96
- - locale/ca/foreman_bootdisk.edit.po
97
95
  - locale/ca/foreman_bootdisk.po
98
- - locale/ca/foreman_bootdisk.po.time_stamp
99
- - locale/cs_CZ/foreman_bootdisk.edit.po
100
- - locale/cs_CZ/foreman_bootdisk.po.time_stamp
101
96
  - locale/de/LC_MESSAGES/foreman_bootdisk.mo
102
- - locale/de/foreman_bootdisk.edit.po
103
97
  - locale/de/foreman_bootdisk.po
104
- - locale/de/foreman_bootdisk.po.time_stamp
105
98
  - locale/en/LC_MESSAGES/foreman_bootdisk.mo
106
- - locale/en/foreman_bootdisk.edit.po
107
99
  - locale/en/foreman_bootdisk.po
108
- - locale/en/foreman_bootdisk.po.time_stamp
109
100
  - locale/en_GB/LC_MESSAGES/foreman_bootdisk.mo
110
- - locale/en_GB/foreman_bootdisk.edit.po
111
101
  - locale/en_GB/foreman_bootdisk.po
112
- - locale/en_GB/foreman_bootdisk.po.time_stamp
113
102
  - locale/es/LC_MESSAGES/foreman_bootdisk.mo
114
- - locale/es/foreman_bootdisk.edit.po
115
103
  - locale/es/foreman_bootdisk.po
116
- - locale/es/foreman_bootdisk.po.time_stamp
117
104
  - locale/foreman_bootdisk.pot
118
105
  - locale/fr/LC_MESSAGES/foreman_bootdisk.mo
119
- - locale/fr/foreman_bootdisk.edit.po
120
106
  - locale/fr/foreman_bootdisk.po
121
- - locale/fr/foreman_bootdisk.po.time_stamp
122
107
  - locale/gemspec.rb
123
108
  - locale/it/LC_MESSAGES/foreman_bootdisk.mo
124
- - locale/it/foreman_bootdisk.edit.po
125
109
  - locale/it/foreman_bootdisk.po
126
- - locale/it/foreman_bootdisk.po.time_stamp
127
110
  - locale/ja/LC_MESSAGES/foreman_bootdisk.mo
128
- - locale/ja/foreman_bootdisk.edit.po
129
111
  - locale/ja/foreman_bootdisk.po
130
- - locale/ja/foreman_bootdisk.po.time_stamp
131
112
  - locale/ka/LC_MESSAGES/foreman_bootdisk.mo
132
- - locale/ka/foreman_bootdisk.edit.po
133
113
  - locale/ka/foreman_bootdisk.po
134
- - locale/ka/foreman_bootdisk.po.time_stamp
135
114
  - locale/ko/LC_MESSAGES/foreman_bootdisk.mo
136
- - locale/ko/foreman_bootdisk.edit.po
137
115
  - locale/ko/foreman_bootdisk.po
138
- - locale/ko/foreman_bootdisk.po.time_stamp
139
116
  - locale/pt_BR/LC_MESSAGES/foreman_bootdisk.mo
140
- - locale/pt_BR/foreman_bootdisk.edit.po
141
117
  - locale/pt_BR/foreman_bootdisk.po
142
- - locale/pt_BR/foreman_bootdisk.po.time_stamp
143
118
  - locale/ru/LC_MESSAGES/foreman_bootdisk.mo
144
- - locale/ru/foreman_bootdisk.edit.po
145
119
  - locale/ru/foreman_bootdisk.po
146
- - locale/ru/foreman_bootdisk.po.time_stamp
147
120
  - locale/sv_SE/LC_MESSAGES/foreman_bootdisk.mo
148
- - locale/sv_SE/foreman_bootdisk.edit.po
149
121
  - locale/sv_SE/foreman_bootdisk.po
150
- - locale/sv_SE/foreman_bootdisk.po.time_stamp
151
122
  - locale/zanata.xml
152
123
  - locale/zh_CN/LC_MESSAGES/foreman_bootdisk.mo
153
- - locale/zh_CN/foreman_bootdisk.edit.po
154
124
  - locale/zh_CN/foreman_bootdisk.po
155
- - locale/zh_CN/foreman_bootdisk.po.time_stamp
156
125
  - locale/zh_TW/LC_MESSAGES/foreman_bootdisk.mo
157
- - locale/zh_TW/foreman_bootdisk.edit.po
158
126
  - locale/zh_TW/foreman_bootdisk.po
159
- - locale/zh_TW/foreman_bootdisk.po.time_stamp
160
127
  - package.json
161
128
  - webpack/__mocks__/foremanReact/common/HOC.js
162
129
  - webpack/__mocks__/foremanReact/common/I18n.js
@@ -192,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
159
  - !ruby/object:Gem::Version
193
160
  version: '0'
194
161
  requirements: []
195
- rubygems_version: 3.1.6
162
+ rubygems_version: 3.2.33
196
163
  signing_key:
197
164
  specification_version: 4
198
165
  summary: Create boot disks to provision hosts with Foreman
@@ -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,364 +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.1.0\n"
11
- "Report-Msgid-Bugs-To: \n"
12
- "PO-Revision-Date: 2014-02-13 12:12+0000\n"
13
- "Last-Translator: Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2017\n"
14
- "Language-Team: Catalan (http://app.transifex.com/foreman/foreman/language/ca/)"
15
- "\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 ../app/views/foreman_bootdisk/disks/help.html.erb:1
27
- msgid "Boot disks"
28
- msgstr "Discs d'arrencada"
29
-
30
- #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:20
31
- msgid "Download generic image"
32
- msgstr "Baixa la imatge genèrica"
33
-
34
- #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:29
35
- msgid "Download host image"
36
- msgstr "Baixa la imatge d'amfitrió"
37
-
38
- #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:30
39
- msgid "True for full, false for basic reusable image"
40
- msgstr ""
41
-
42
- #: ../app/controllers/foreman_bootdisk/api/v2/disks_controller.rb:42 ../app/controllers/foreman_bootdisk/disks_controller.rb:126 ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:90
43
- msgid "Host is not in build mode"
44
- msgstr ""
45
-
46
- #: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:19
47
- msgid "Subnet boot disks"
48
- msgstr "Discs d'arrencada de subxarxa"
49
-
50
- #: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:22
51
- msgid "Download subnet generic image"
52
- msgstr "Baixa la imatge genèrica de subxarxa"
53
-
54
- #: ../app/controllers/foreman_bootdisk/api/v2/subnet_disks_controller.rb:26 ../app/controllers/foreman_bootdisk/subnet_disks_controller.rb:15
55
- msgid "TFTP feature not enabled for subnet %s"
56
- msgstr "La funcionalitat TFTP no està habilitada per a la subxarxa %s"
57
-
58
- #: ../app/controllers/foreman_bootdisk/disks_controller.rb:63
59
- msgid "Host is not in build mode."
60
- msgstr ""
61
-
62
- #: ../app/controllers/foreman_bootdisk/disks_controller.rb:95 ../app/helpers/concerns/foreman_bootdisk/pretty_error.rb:8
63
- msgid "Failed to render boot disk template"
64
- msgstr ""
65
-
66
- #: ../app/controllers/foreman_bootdisk/disks_controller.rb:120 ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:66
67
- msgid "Host '%s' image"
68
- msgstr ""
69
-
70
- #: ../app/controllers/foreman_bootdisk/disks_controller.rb:120 ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:76 ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:86
71
- msgid "Full host '%s' image"
72
- msgstr ""
73
-
74
- #: ../app/controllers/foreman_bootdisk/disks_controller.rb:133
75
- msgid "Boot disk help"
76
- msgstr ""
77
-
78
- #: ../app/helpers/bootdisk_links_helper.rb:27
79
- msgid "Boot disk Help"
80
- msgstr ""
81
-
82
- #: ../app/helpers/bootdisk_links_helper.rb:40 ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:20 ../app/models/setting/bootdisk.rb:6 ../lib/foreman_bootdisk/engine.rb:67 ../webpack/src/extensions/host/HostBootdiskButtons.js:86
83
- msgid "Boot disk"
84
- msgstr "Disc d'arrencada"
85
-
86
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:21 ../webpack/src/extensions/host/HostBootdiskButtons.js:74
87
- msgid "Boot disk download not available for %s architecture"
88
- msgstr ""
89
-
90
- #: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:30
91
- msgid "Subnet '%s' generic image"
92
- msgstr ""
93
-
94
- #: ../app/helpers/concerns/foreman_bootdisk/subnets_helper_ext.rb:10
95
- msgid "Subnet generic image"
96
- msgstr ""
97
-
98
- #: ../app/helpers/concerns/foreman_bootdisk/subnets_helper_ext.rb:27 ../app/views/foreman_bootdisk/disks/help.html.erb:35
99
- msgid "Generic image"
100
- msgstr "Imatge genèrica"
101
-
102
- #: ../app/models/concerns/foreman_bootdisk/host_ext.rb:12 ../app/services/foreman_bootdisk/renderer.rb:53 ../app/services/foreman_bootdisk/renderer.rb:60
103
- msgid "Unable to find template specified by %s setting"
104
- msgstr "No es pot trobar la plantilla especificada per l'ajust %s"
105
-
106
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:30
107
- msgid "Generating ISO image for %s"
108
- msgstr ""
109
-
110
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:32
111
- msgid "Upload ISO image to datastore for %s"
112
- msgstr ""
113
-
114
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:34
115
- msgid "Attach ISO image to CDROM drive for %s"
116
- msgstr ""
117
-
118
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:38
119
- msgid "Detach ISO image from CDROM drive for %s"
120
- msgstr ""
121
-
122
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:73
123
- msgid "Failed to generate ISO image for instance %{name}: %{message}"
124
- msgstr ""
125
-
126
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:82
127
- msgid "Failed to upload ISO image for instance %{name}: %{message}"
128
- msgstr ""
129
-
130
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:91
131
- msgid "Failed to attach ISO image to CDROM drive of instance %{name}: %{message}"
132
- msgstr ""
133
-
134
- #: ../app/models/concerns/foreman_bootdisk/orchestration/compute.rb:100
135
- msgid "Failed to detach ISO image from CDROM drive of instance %{name}: %{message}"
136
- msgstr ""
137
-
138
- #: ../app/services/foreman_bootdisk/iso_generator.rb:16
139
- msgid "Host is not in build mode, so the template cannot be rendered"
140
- msgstr ""
141
-
142
- #: ../app/services/foreman_bootdisk/iso_generator.rb:42
143
- msgid "Unable to generate disk template, %{kind} template not found."
144
- msgstr ""
145
-
146
- #: ../app/services/foreman_bootdisk/iso_generator.rb:52
147
- msgid "Unable to generate disk %{kind} template: %{error}"
148
- msgstr ""
149
-
150
- #: ../app/services/foreman_bootdisk/iso_generator.rb:94
151
- msgid "Please ensure the isolinux/syslinux package(s) are installed."
152
- msgstr ""
153
-
154
- #: ../app/services/foreman_bootdisk/iso_generator.rb:111
155
- msgid "Please ensure the ipxe-bootimgs package is installed."
156
- msgstr ""
157
-
158
- #: ../app/services/foreman_bootdisk/iso_generator.rb:128
159
- msgid "Creating new image failed, install truncate utility"
160
- msgstr ""
161
-
162
- #: ../app/services/foreman_bootdisk/iso_generator.rb:129
163
- msgid "Failed to format the ESP image via mkfs.msdos"
164
- msgstr ""
165
-
166
- #: ../app/services/foreman_bootdisk/iso_generator.rb:130 ../app/services/foreman_bootdisk/iso_generator.rb:131
167
- msgid "Failed to create a directory within the ESP image"
168
- msgstr ""
169
-
170
- #: ../app/services/foreman_bootdisk/iso_generator.rb:137
171
- msgid "Ensure %{file} is readable (or update \"Grub2 directory\" setting)"
172
- msgstr ""
173
-
174
- #: ../app/services/foreman_bootdisk/iso_generator.rb:138
175
- msgid "Unable to mcopy %{file}"
176
- msgstr ""
177
-
178
- #: ../app/services/foreman_bootdisk/iso_generator.rb:160
179
- msgid "ISO build failed"
180
- msgstr "No s'ha pogut construir l'ISO"
181
-
182
- #: ../app/services/foreman_bootdisk/iso_generator.rb:163
183
- msgid "ISO hybrid conversion failed: %s"
184
- msgstr ""
185
-
186
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:2
187
- msgid "Back"
188
- msgstr "Enrere"
189
-
190
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:6
191
- 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."
192
- msgstr ""
193
-
194
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:9
195
- msgid "All images are usable as either ISOs or as disk images, including being written to a USB disk with `dd`."
196
- msgstr ""
197
-
198
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:12
199
- msgid "Host images"
200
- msgstr ""
201
-
202
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:14
203
- msgid "These images are used for host. You can find them at host detail page."
204
- msgstr ""
205
-
206
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:17
207
- msgid "Host image"
208
- msgstr "Imatge d'amfitrió"
209
-
210
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:19
211
- msgid "Per-host images contain data about a particular host registered in Foreman and set up fully static networking, avoiding the requirement for DHCP. After networking is configured, they chainload from Foreman, picking up the current OS configuration and build state from the server."
212
- msgstr ""
213
-
214
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:22
215
- 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."
216
- msgstr ""
217
-
218
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:25
219
- msgid "Full host image"
220
- msgstr "Imatge completa d'amfitrió"
221
-
222
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:27
223
- 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."
224
- msgstr ""
225
-
226
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:30
227
- msgid "Generic images"
228
- msgstr ""
229
-
230
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:32
231
- msgid "These images are more generic than previous images. You can find them at subnet index page."
232
- msgstr ""
233
-
234
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:37
235
- 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."
236
- msgstr ""
237
-
238
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:40
239
- 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."
240
- msgstr ""
241
-
242
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:43
243
- msgid "Subnet image"
244
- msgstr "Imatge de subxarxa"
245
-
246
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:45
247
- 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."
248
- msgstr ""
249
-
250
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:48
251
- msgid "This image is generic for all hosts with a provisioning NIC on that subnet."
252
- msgstr ""
253
-
254
- #: ../app/views/foreman_bootdisk/disks/help.html.erb:51
255
- msgid "* - These bootdisk types were disabled, you can enable them in Administer - Settings."
256
- msgstr ""
257
-
258
- #: ../lib/foreman_bootdisk/engine.rb:58
259
- msgid "Boot disk based"
260
- msgstr ""
261
-
262
- #: ../lib/foreman_bootdisk/engine.rb:79
263
- msgid "iPXE directory"
264
- msgstr "Directori iPXE"
265
-
266
- #: ../lib/foreman_bootdisk/engine.rb:80
267
- msgid "Path to directory containing iPXE images"
268
- msgstr "El camí al directori que conté les imatges iPXE"
269
-
270
- #: ../lib/foreman_bootdisk/engine.rb:85
271
- msgid "ISOLINUX directory"
272
- msgstr ""
273
-
274
- #: ../lib/foreman_bootdisk/engine.rb:86
275
- msgid "Path to directory containing isolinux images"
276
- msgstr "El camí al directori que conté les imatges isolinux"
277
-
278
- #: ../lib/foreman_bootdisk/engine.rb:91
279
- msgid "SYSLINUX directory"
280
- msgstr ""
281
-
282
- #: ../lib/foreman_bootdisk/engine.rb:92
283
- msgid "Path to directory containing syslinux images"
284
- msgstr "El camí al directori que conté les imatges syslinux"
285
-
286
- #: ../lib/foreman_bootdisk/engine.rb:97
287
- msgid "Grub2 directory"
288
- msgstr ""
289
-
290
- #: ../lib/foreman_bootdisk/engine.rb:98
291
- msgid "Path to directory containing grubx64.efi and shimx64.efi"
292
- msgstr ""
293
-
294
- #: ../lib/foreman_bootdisk/engine.rb:104
295
- msgid "Host image template"
296
- msgstr ""
297
-
298
- #: ../lib/foreman_bootdisk/engine.rb:105
299
- msgid "iPXE template to use for host-specific boot disks"
300
- msgstr ""
301
-
302
- #: ../lib/foreman_bootdisk/engine.rb:111
303
- msgid "Generic image template"
304
- msgstr ""
305
-
306
- #: ../lib/foreman_bootdisk/engine.rb:112
307
- msgid "iPXE template to use for generic host boot disks"
308
- msgstr ""
309
-
310
- #: ../lib/foreman_bootdisk/engine.rb:118
311
- msgid "Generic Grub2 EFI image template"
312
- msgstr ""
313
-
314
- #: ../lib/foreman_bootdisk/engine.rb:119
315
- msgid "iPXE template to use for generic EFI host boot disks"
316
- msgstr ""
317
-
318
- #: ../lib/foreman_bootdisk/engine.rb:124
319
- msgid "ISO generation command"
320
- msgstr ""
321
-
322
- #: ../lib/foreman_bootdisk/engine.rb:125
323
- msgid "Command to generate ISO image, use genisoimage or mkisofs"
324
- msgstr "L'ordre per generar la imatge ISO, utilitzeu genisoimage o mkisofs"
325
-
326
- #: ../lib/foreman_bootdisk/engine.rb:130
327
- msgid "Installation media caching"
328
- msgstr ""
329
-
330
- #: ../lib/foreman_bootdisk/engine.rb:131
331
- msgid "Installation media files will be cached for full host images"
332
- msgstr "Els fitxers dels mitjans d'instal·lació s'emmagatzemaran en memòria cau per a les imatges completes dels amfitrions"
333
-
334
- #: ../lib/foreman_bootdisk/engine.rb:136
335
- msgid "Allowed bootdisk types"
336
- msgstr ""
337
-
338
- #: ../lib/foreman_bootdisk/engine.rb:137
339
- msgid "List of allowed bootdisk types, remove type to disable it"
340
- msgstr ""
341
-
342
- #: ../webpack/src/extensions/host/HostBootdiskButtons.js:80
343
- msgid "Not available"
344
- msgstr ""
345
-
346
- #: action_names.rb:2
347
- msgid "Remote action:"
348
- msgstr ""
349
-
350
- #: action_names.rb:3
351
- msgid "Import Puppet classes"
352
- msgstr ""
353
-
354
- #: action_names.rb:4
355
- msgid "Import facts"
356
- msgstr ""
357
-
358
- #: action_names.rb:5
359
- msgid "Action with sub plans"
360
- msgstr ""
361
-
362
- #: gemspec.rb:4
363
- msgid "Plugin for Foreman that creates iPXE-based boot disks to provision hosts without the need for PXE infrastructure."
364
- msgstr ""
File without changes