foreman_bootdisk 21.2.0 → 21.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/foreman_bootdisk/locale/ca/foreman_bootdisk.js +0 -1
- data/app/assets/javascripts/foreman_bootdisk/locale/de/foreman_bootdisk.js +0 -1
- data/app/assets/javascripts/foreman_bootdisk/locale/en_GB/foreman_bootdisk.js +0 -1
- data/app/assets/javascripts/foreman_bootdisk/locale/es/foreman_bootdisk.js +0 -1
- data/app/assets/javascripts/foreman_bootdisk/locale/fr/foreman_bootdisk.js +0 -1
- data/app/assets/javascripts/foreman_bootdisk/locale/it/foreman_bootdisk.js +0 -1
- data/app/assets/javascripts/foreman_bootdisk/locale/ja/foreman_bootdisk.js +0 -1
- data/app/assets/javascripts/foreman_bootdisk/locale/ka/foreman_bootdisk.js +0 -1
- data/app/assets/javascripts/foreman_bootdisk/locale/ko/foreman_bootdisk.js +0 -1
- data/app/assets/javascripts/foreman_bootdisk/locale/pt_BR/foreman_bootdisk.js +0 -1
- data/app/assets/javascripts/foreman_bootdisk/locale/ru/foreman_bootdisk.js +0 -1
- data/app/assets/javascripts/foreman_bootdisk/locale/sv_SE/foreman_bootdisk.js +0 -1
- data/app/assets/javascripts/foreman_bootdisk/locale/zh_CN/foreman_bootdisk.js +0 -1
- data/app/assets/javascripts/foreman_bootdisk/locale/zh_TW/foreman_bootdisk.js +0 -1
- data/app/models/concerns/foreman_bootdisk/compute_resources/vmware.rb +13 -1
- data/lib/foreman_bootdisk/version.rb +1 -1
- data/locale/Makefile +3 -3
- data/locale/foreman_bootdisk.pot +24 -24
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6539cd1cc5bfe08bb8c7f8b09b424fd37ebbdafe4c708f124e65b0e3fe2863ce
|
4
|
+
data.tar.gz: 861a636231e4e7b539f488df5e64cbeb0089263eb91743513d8b8c020eb85f9d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cea1a98193a48e6df00a5a498fe48fe410dd92799442e6d732b1d2fd6e0eaf0eacf845f627b012708564b62848b5d5b019910195b9d956ca9c2442a591005bfa
|
7
|
+
data.tar.gz: 1ce7b84976143a01d5c113f06f33741ef609cf4df07f8023a3b98222e527aeefb918662b4ab93f11e5f831c46403746a161f2f3f1dc100612fc936f7ee53963b
|
@@ -5,7 +5,6 @@
|
|
5
5
|
"": {
|
6
6
|
"Project-Id-Version": "foreman_bootdisk 21.0.4",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
|
-
"POT-Creation-Date": "2023-01-05 20:17+0100",
|
9
8
|
"PO-Revision-Date": "2014-02-13 12:12+0000",
|
10
9
|
"Last-Translator": "Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2017",
|
11
10
|
"Language-Team": "Catalan (http://app.transifex.com/foreman/foreman/language/ca/)",
|
@@ -5,7 +5,6 @@
|
|
5
5
|
"": {
|
6
6
|
"Project-Id-Version": "foreman_bootdisk 21.0.4",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
|
-
"POT-Creation-Date": "2023-01-05 20:17+0100",
|
9
8
|
"PO-Revision-Date": "2014-02-13 12:12+0000",
|
10
9
|
"Last-Translator": "Patrick Dolinic, 2021",
|
11
10
|
"Language-Team": "German (http://app.transifex.com/foreman/foreman/language/de/)",
|
@@ -5,7 +5,6 @@
|
|
5
5
|
"": {
|
6
6
|
"Project-Id-Version": "foreman_bootdisk 21.0.4",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
|
-
"POT-Creation-Date": "2023-01-05 20:17+0100",
|
9
8
|
"PO-Revision-Date": "2014-02-13 12:12+0000",
|
10
9
|
"Last-Translator": "Andi Chandler <andi@gowling.com>, 2015-2017,2023",
|
11
10
|
"Language-Team": "English (United Kingdom) (http://app.transifex.com/foreman/foreman/language/en_GB/)",
|
@@ -5,7 +5,6 @@
|
|
5
5
|
"": {
|
6
6
|
"Project-Id-Version": "foreman_bootdisk 21.0.4",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
|
-
"POT-Creation-Date": "2023-01-05 20:17+0100",
|
9
8
|
"PO-Revision-Date": "2014-02-13 12:12+0000",
|
10
9
|
"Last-Translator": "Sergio Ocón-Cárdenas <sergio.ocon@redhat.com>, 2014",
|
11
10
|
"Language-Team": "Spanish (http://app.transifex.com/foreman/foreman/language/es/)",
|
@@ -5,7 +5,6 @@
|
|
5
5
|
"": {
|
6
6
|
"Project-Id-Version": "foreman_bootdisk 21.0.4",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
|
-
"POT-Creation-Date": "2023-01-05 20:17+0100",
|
9
8
|
"PO-Revision-Date": "2014-02-13 12:12+0000",
|
10
9
|
"Last-Translator": "0868a4d1af5275b3f70b0a6dac4c99a4, 2015",
|
11
10
|
"Language-Team": "French (http://app.transifex.com/foreman/foreman/language/fr/)",
|
@@ -5,7 +5,6 @@
|
|
5
5
|
"": {
|
6
6
|
"Project-Id-Version": "foreman_bootdisk 21.0.4",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
|
-
"POT-Creation-Date": "2023-01-05 20:17+0100",
|
9
8
|
"PO-Revision-Date": "2014-02-13 12:12+0000",
|
10
9
|
"Last-Translator": "FULL NAME <EMAIL@ADDRESS>",
|
11
10
|
"Language-Team": "Italian (http://app.transifex.com/foreman/foreman/language/it/)",
|
@@ -5,7 +5,6 @@
|
|
5
5
|
"": {
|
6
6
|
"Project-Id-Version": "foreman_bootdisk 21.0.4",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
|
-
"POT-Creation-Date": "2023-01-05 20:17+0100",
|
9
8
|
"PO-Revision-Date": "2014-02-13 12:12+0000",
|
10
9
|
"Last-Translator": "山田 修司 🍣 Shuji Yamada <uzy.exe@gmail.com>, 2015",
|
11
10
|
"Language-Team": "Japanese (http://app.transifex.com/foreman/foreman/language/ja/)",
|
@@ -5,7 +5,6 @@
|
|
5
5
|
"": {
|
6
6
|
"Project-Id-Version": "foreman_bootdisk 21.0.4",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
|
-
"POT-Creation-Date": "2023-01-05 20:17+0100",
|
9
8
|
"PO-Revision-Date": "2014-02-13 12:12+0000",
|
10
9
|
"Last-Translator": "FULL NAME <EMAIL@ADDRESS>",
|
11
10
|
"Language-Team": "Georgian (http://app.transifex.com/foreman/foreman/language/ka/)",
|
@@ -5,7 +5,6 @@
|
|
5
5
|
"": {
|
6
6
|
"Project-Id-Version": "foreman_bootdisk 21.0.4",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
|
-
"POT-Creation-Date": "2023-01-05 20:17+0100",
|
9
8
|
"PO-Revision-Date": "2014-02-13 12:12+0000",
|
10
9
|
"Last-Translator": "FULL NAME <EMAIL@ADDRESS>",
|
11
10
|
"Language-Team": "Korean (http://app.transifex.com/foreman/foreman/language/ko/)",
|
@@ -5,7 +5,6 @@
|
|
5
5
|
"": {
|
6
6
|
"Project-Id-Version": "foreman_bootdisk 21.0.4",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
|
-
"POT-Creation-Date": "2023-01-05 20:17+0100",
|
9
8
|
"PO-Revision-Date": "2014-02-13 12:12+0000",
|
10
9
|
"Last-Translator": "Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 2015-2016",
|
11
10
|
"Language-Team": "Portuguese (Brazil) (http://app.transifex.com/foreman/foreman/language/pt_BR/)",
|
@@ -5,7 +5,6 @@
|
|
5
5
|
"": {
|
6
6
|
"Project-Id-Version": "foreman_bootdisk 21.0.4",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
|
-
"POT-Creation-Date": "2023-01-05 20:17+0100",
|
9
8
|
"PO-Revision-Date": "2014-02-13 12:12+0000",
|
10
9
|
"Last-Translator": "Vladimir Pavlov <v.pavlov@i-teco.ru>, 2015",
|
11
10
|
"Language-Team": "Russian (http://app.transifex.com/foreman/foreman/language/ru/)",
|
@@ -5,7 +5,6 @@
|
|
5
5
|
"": {
|
6
6
|
"Project-Id-Version": "foreman_bootdisk 21.0.4",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
|
-
"POT-Creation-Date": "2023-01-05 20:17+0100",
|
9
8
|
"PO-Revision-Date": "2014-02-13 12:12+0000",
|
10
9
|
"Last-Translator": "johnny.westerlund <johnny.westerlund@gmail.com>, 2014",
|
11
10
|
"Language-Team": "Swedish (Sweden) (http://app.transifex.com/foreman/foreman/language/sv_SE/)",
|
@@ -5,7 +5,6 @@
|
|
5
5
|
"": {
|
6
6
|
"Project-Id-Version": "foreman_bootdisk 21.0.4",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
|
-
"POT-Creation-Date": "2023-01-05 20:17+0100",
|
9
8
|
"PO-Revision-Date": "2014-02-13 12:12+0000",
|
10
9
|
"Last-Translator": "FULL NAME <EMAIL@ADDRESS>",
|
11
10
|
"Language-Team": "Chinese (China) (http://app.transifex.com/foreman/foreman/language/zh_CN/)",
|
@@ -5,7 +5,6 @@
|
|
5
5
|
"": {
|
6
6
|
"Project-Id-Version": "foreman_bootdisk 21.0.4",
|
7
7
|
"Report-Msgid-Bugs-To": "",
|
8
|
-
"POT-Creation-Date": "2023-01-05 20:17+0100",
|
9
8
|
"PO-Revision-Date": "2014-02-13 12:12+0000",
|
10
9
|
"Last-Translator": "FULL NAME <EMAIL@ADDRESS>",
|
11
10
|
"Language-Team": "Chinese (Taiwan) (http://app.transifex.com/foreman/foreman/language/zh_TW/)",
|
@@ -32,15 +32,21 @@ 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
|
}
|
45
|
+
vm = find_vm_by_uuid(vm_uuid)
|
46
|
+
vm.stop if vm.ready?
|
47
|
+
vm.reload
|
43
48
|
client.vm_reconfig_cdrom options
|
49
|
+
vm.start if !vm.ready?
|
44
50
|
end
|
45
51
|
|
46
52
|
def iso_detach(vm_uuid)
|
@@ -51,6 +57,12 @@ module ForemanBootdisk
|
|
51
57
|
}
|
52
58
|
client.vm_reconfig_cdrom options
|
53
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
|
54
66
|
end
|
55
67
|
end
|
56
68
|
end
|
data/locale/Makefile
CHANGED
@@ -6,8 +6,8 @@
|
|
6
6
|
# make tx-update - download and merge translations from Transifex
|
7
7
|
# make clean - clean everything
|
8
8
|
#
|
9
|
-
DOMAIN =
|
10
|
-
VERSION = $(shell ruby -e '
|
9
|
+
DOMAIN = $(shell ruby -rrubygems -e 'puts Gem::Specification::load(Dir.glob("../*.gemspec")[0]).name')
|
10
|
+
VERSION = $(shell ruby -rrubygems -e 'puts Gem::Specification::load(Dir.glob("../*.gemspec")[0]).version')
|
11
11
|
POTFILE = $(DOMAIN).pot
|
12
12
|
MOFILE = $(DOMAIN).mo
|
13
13
|
POFILES = $(shell find . -name '$(DOMAIN).po')
|
@@ -43,7 +43,7 @@ uniq-po:
|
|
43
43
|
done
|
44
44
|
|
45
45
|
tx-pull: $(EDITFILES)
|
46
|
-
cd .. && tx pull -f
|
46
|
+
cd .. && tx pull -f --all
|
47
47
|
for f in $(EDITFILES) ; do \
|
48
48
|
sed -i 's/^\("Project-Id-Version: \).*$$/\1$(DOMAIN) $(VERSION)\\n"/' $$f; \
|
49
49
|
done
|
data/locale/foreman_bootdisk.pot
CHANGED
@@ -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: 2023-
|
12
|
-
"PO-Revision-Date: 2023-
|
11
|
+
"POT-Creation-Date: 2023-11-28 22:35+0100\n"
|
12
|
+
"PO-Revision-Date: 2023-11-28 22:35+0100\n"
|
13
13
|
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
14
14
|
"Language-Team: LANGUAGE <LL@li.org>\n"
|
15
15
|
"Language: \n"
|
@@ -88,7 +88,7 @@ msgstr ""
|
|
88
88
|
|
89
89
|
#: ../app/helpers/bootdisk_links_helper.rb:40
|
90
90
|
#: ../app/helpers/concerns/foreman_bootdisk/hosts_helper_ext.rb:20
|
91
|
-
#: ../app/models/setting/bootdisk.rb:6 ../lib/foreman_bootdisk/engine.rb:
|
91
|
+
#: ../app/models/setting/bootdisk.rb:6 ../lib/foreman_bootdisk/engine.rb:67
|
92
92
|
#: ../webpack/src/extensions/host/HostBootdiskButtons.js:86
|
93
93
|
msgid "Boot disk"
|
94
94
|
msgstr ""
|
@@ -299,87 +299,87 @@ msgid ""
|
|
299
299
|
"ttings."
|
300
300
|
msgstr ""
|
301
301
|
|
302
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
302
|
+
#: ../lib/foreman_bootdisk/engine.rb:58
|
303
303
|
msgid "Boot disk based"
|
304
304
|
msgstr ""
|
305
305
|
|
306
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
306
|
+
#: ../lib/foreman_bootdisk/engine.rb:79
|
307
307
|
msgid "iPXE directory"
|
308
308
|
msgstr ""
|
309
309
|
|
310
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
310
|
+
#: ../lib/foreman_bootdisk/engine.rb:80
|
311
311
|
msgid "Path to directory containing iPXE images"
|
312
312
|
msgstr ""
|
313
313
|
|
314
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
314
|
+
#: ../lib/foreman_bootdisk/engine.rb:85
|
315
315
|
msgid "ISOLINUX directory"
|
316
316
|
msgstr ""
|
317
317
|
|
318
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
318
|
+
#: ../lib/foreman_bootdisk/engine.rb:86
|
319
319
|
msgid "Path to directory containing isolinux images"
|
320
320
|
msgstr ""
|
321
321
|
|
322
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
322
|
+
#: ../lib/foreman_bootdisk/engine.rb:91
|
323
323
|
msgid "SYSLINUX directory"
|
324
324
|
msgstr ""
|
325
325
|
|
326
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
326
|
+
#: ../lib/foreman_bootdisk/engine.rb:92
|
327
327
|
msgid "Path to directory containing syslinux images"
|
328
328
|
msgstr ""
|
329
329
|
|
330
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
330
|
+
#: ../lib/foreman_bootdisk/engine.rb:97
|
331
331
|
msgid "Grub2 directory"
|
332
332
|
msgstr ""
|
333
333
|
|
334
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
334
|
+
#: ../lib/foreman_bootdisk/engine.rb:98
|
335
335
|
msgid "Path to directory containing grubx64.efi and shimx64.efi"
|
336
336
|
msgstr ""
|
337
337
|
|
338
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
338
|
+
#: ../lib/foreman_bootdisk/engine.rb:104
|
339
339
|
msgid "Host image template"
|
340
340
|
msgstr ""
|
341
341
|
|
342
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
342
|
+
#: ../lib/foreman_bootdisk/engine.rb:105
|
343
343
|
msgid "iPXE template to use for host-specific boot disks"
|
344
344
|
msgstr ""
|
345
345
|
|
346
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
346
|
+
#: ../lib/foreman_bootdisk/engine.rb:111
|
347
347
|
msgid "Generic image template"
|
348
348
|
msgstr ""
|
349
349
|
|
350
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
350
|
+
#: ../lib/foreman_bootdisk/engine.rb:112
|
351
351
|
msgid "iPXE template to use for generic host boot disks"
|
352
352
|
msgstr ""
|
353
353
|
|
354
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
354
|
+
#: ../lib/foreman_bootdisk/engine.rb:118
|
355
355
|
msgid "Generic Grub2 EFI image template"
|
356
356
|
msgstr ""
|
357
357
|
|
358
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
358
|
+
#: ../lib/foreman_bootdisk/engine.rb:119
|
359
359
|
msgid "iPXE template to use for generic EFI host boot disks"
|
360
360
|
msgstr ""
|
361
361
|
|
362
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
362
|
+
#: ../lib/foreman_bootdisk/engine.rb:124
|
363
363
|
msgid "ISO generation command"
|
364
364
|
msgstr ""
|
365
365
|
|
366
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
366
|
+
#: ../lib/foreman_bootdisk/engine.rb:125
|
367
367
|
msgid "Command to generate ISO image, use genisoimage or mkisofs"
|
368
368
|
msgstr ""
|
369
369
|
|
370
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
370
|
+
#: ../lib/foreman_bootdisk/engine.rb:130
|
371
371
|
msgid "Installation media caching"
|
372
372
|
msgstr ""
|
373
373
|
|
374
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
374
|
+
#: ../lib/foreman_bootdisk/engine.rb:131
|
375
375
|
msgid "Installation media files will be cached for full host images"
|
376
376
|
msgstr ""
|
377
377
|
|
378
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
378
|
+
#: ../lib/foreman_bootdisk/engine.rb:136
|
379
379
|
msgid "Allowed bootdisk types"
|
380
380
|
msgstr ""
|
381
381
|
|
382
|
-
#: ../lib/foreman_bootdisk/engine.rb:
|
382
|
+
#: ../lib/foreman_bootdisk/engine.rb:137
|
383
383
|
msgid "List of allowed bootdisk types, remove type to disable it"
|
384
384
|
msgstr ""
|
385
385
|
|
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.2.
|
4
|
+
version: 21.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dominic Cleal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: theforeman-rubocop
|
@@ -189,7 +189,10 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
189
189
|
requirements:
|
190
190
|
- - ">="
|
191
191
|
- !ruby/object:Gem::Version
|
192
|
-
version: '2.
|
192
|
+
version: '2.7'
|
193
|
+
- - "<"
|
194
|
+
- !ruby/object:Gem::Version
|
195
|
+
version: '4'
|
193
196
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
194
197
|
requirements:
|
195
198
|
- - ">="
|