foreman_bootdisk 8.0.1 → 8.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e4edcf1bef7cac12fd6dfc3126c56d38dd40fcc
|
4
|
+
data.tar.gz: d567eaaf000f3de41b406d377e48309f84d00de1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4261cb941f1a326bc0212fceb800a2791275e1cb48bf1c31a072be194b82272af998e43f459b9ba1e5a1d5c61fac1b7851d2f10b4cf11b95b86e96c3e8424fa3
|
7
|
+
data.tar.gz: 72f9f11d227df4e5e665e0e9f54b5b7a4fe409097d68c1654ff3b740fb445bfd5b1a9b44039ba82f422e69ab65ad850b5f9dc4052b38472370b680117db90c61
|
data/CHANGES.md
CHANGED
@@ -20,8 +20,7 @@ class ForemanBootdisk::ISOGenerator
|
|
20
20
|
files.map! do |bootfile_info|
|
21
21
|
bootfile_info.map do |f|
|
22
22
|
suffix = f[1].split('/').last
|
23
|
-
|
24
|
-
iso_f0 = iso9660_filename(f[0].to_s) + '_' + iso_suffix
|
23
|
+
iso_f0 = iso9660_filename(f[0].to_s + '_' + suffix)
|
25
24
|
tmpl.gsub!(f[0].to_s + '-' + suffix, iso_f0)
|
26
25
|
ForemanBootdisk.logger.debug("Boot file #{iso_f0}, source #{f[1]}")
|
27
26
|
[iso_f0, f[1]]
|
@@ -134,7 +133,7 @@ class ForemanBootdisk::ISOGenerator
|
|
134
133
|
# isolinux supports up to ISO 9660 level 2 filenames
|
135
134
|
def self.iso9660_filename(name)
|
136
135
|
dir = File.dirname(name)
|
137
|
-
file = File.basename(name).upcase.tr_s('^A-Z0-9_', '_')
|
138
|
-
dir == '.' ? file : File.join(dir.upcase.tr_s('^A-Z0-9_', '_')
|
136
|
+
file = File.basename(name).upcase.tr_s('^A-Z0-9_', '_').last(28)
|
137
|
+
dir == '.' ? file : File.join(dir.upcase.tr_s('^A-Z0-9_', '_').last(28), file)
|
139
138
|
end
|
140
139
|
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: 8.0.
|
4
|
+
version: 8.0.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: 2016-
|
11
|
+
date: 2016-09-08 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: Plugin for Foreman that creates iPXE-based boot disks to provision hosts
|
14
14
|
without the need for PXE infrastructure.
|