beaker-hostgenerator 2.2.1 → 2.2.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4dd935507c9a4b146775cd6f323206d074c5ed5d510f25950b38b6b029904bcb
4
- data.tar.gz: 998047b01604be93e5b1893d3aaea47d00c91329078805b96993ee643d0d0643
3
+ metadata.gz: c4750b645ea54dcb7a01ff52e8ce856b91b0800d705766212eeea2142ef689e9
4
+ data.tar.gz: 264cd3f5504e3b4a63dd163d33bef5168fcd63990d7847624725645fc1a8f61a
5
5
  SHA512:
6
- metadata.gz: 7869080134c9d4ce72852913f07a6e331cd62fc096caeab8a8278d582a6fe0b4cefa7662bd132e2ee35960dcdf159f968e36db34255f2678077cda322fb0ae6c
7
- data.tar.gz: ca4ec276785e93cb925f50b57d771716fa506fb809209505db1b884101e01e9aae5a226df869f85d160257ae5831683e211d00a577c3e21682380185c29c7c0d
6
+ metadata.gz: 0207fab6d139d5019c1ed18a272342a063e9608217af1b28d7b1ba71f215b2fdceb58c01143d53df02e111bc77e1a6f0c988bbb9fd58ce0c6b9c2f4121db4c54
7
+ data.tar.gz: e3ab592501282324f12ffd66afcf8646a50aa76584923a567af1b31b26d2ab0f1f2a7c212ff1380937a4da02c2e92887b77492995070a5fe9e5776166cb6e268
data/CHANGELOG.md CHANGED
@@ -2,6 +2,23 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [2.2.3](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.2.3) (2023-07-30)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.2.2...2.2.3)
8
+
9
+ **Fixed bugs:**
10
+
11
+ - Debian: Install iproute2 [\#318](https://github.com/voxpupuli/beaker-hostgenerator/pull/318) ([bastelfreak](https://github.com/bastelfreak))
12
+ - Move abs template logic to hypervisor [\#317](https://github.com/voxpupuli/beaker-hostgenerator/pull/317) ([AriaXLi](https://github.com/AriaXLi))
13
+
14
+ ## [2.2.2](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.2.2) (2023-07-27)
15
+
16
+ [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.2.1...2.2.2)
17
+
18
+ **Fixed bugs:**
19
+
20
+ - Fix typo in yum command [\#315](https://github.com/voxpupuli/beaker-hostgenerator/pull/315) ([smortex](https://github.com/smortex))
21
+
5
22
  ## [2.2.1](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.2.1) (2023-07-27)
6
23
 
7
24
  [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.2.0...2.2.1)
@@ -23,12 +23,13 @@ module BeakerHostGenerator
23
23
  base_config = base_generate_node(node_info, base_config, bhg_version, :vmpooler, :abs)
24
24
 
25
25
  case node_info['ostype']
26
- when /^(almalinux|centos|redhat|rocky)/
26
+ when /^(almalinux|centos|oracle|redhat|rocky|scientific)/
27
27
  base_config['template'] ||= base_config['platform'].gsub(/^el/, ::Regexp.last_match(1))
28
- when /^fedora/
28
+ when /^fedora/, /^opensuse/, /^panos/
29
29
  base_config['template'] ||= base_config['platform']
30
- when /^ubuntu/
31
- base_template = node_info['ostype'].sub('ubuntu', 'ubuntu-')
30
+ when /^(debian|ubuntu)/
31
+ os = Regexp.last_match(1)
32
+ base_template = node_info['ostype'].sub(os, "#{os}-")
32
33
  arch = case node_info['bits']
33
34
  when '64'
34
35
  'x86_64'
@@ -37,7 +38,7 @@ module BeakerHostGenerator
37
38
  when 'AARCH64'
38
39
  'arm64'
39
40
  when 'POWER'
40
- base_template.sub!(/ubuntu-(\d\d)/, 'ubuntu-\1.')
41
+ base_template.sub!(/#{os}-(\d\d)/, "#{os}-\1.")
41
42
  'power8'
42
43
  else
43
44
  raise "Unknown bits '#{node_info['bits']}' for '#{node_info['ostype']}'"
@@ -58,7 +58,7 @@ module BeakerHostGenerator
58
58
  [
59
59
  'cp /bin/true /sbin/agetty',
60
60
  'rm -f /usr/sbin/policy-rc.d',
61
- 'apt-get update && apt-get install -y cron locales-all net-tools wget gnupg',
61
+ 'apt-get update && apt-get install -y cron locales-all net-tools wget gnupg iproute2',
62
62
  ]
63
63
  when /^opensuse/
64
64
  [
@@ -79,7 +79,7 @@ module BeakerHostGenerator
79
79
  if version >= 8
80
80
  'dnf install -y crontabs initscripts iproute openssl wget which glibc-langpack-en hostname'
81
81
  else
82
- 'yum intall -y crontabs initscripts iproute openssl wget which sysvinit-tools tar ss'
82
+ 'yum install -y crontabs initscripts iproute openssl wget which sysvinit-tools tar ss'
83
83
  end
84
84
  end
85
85
  end
@@ -1,5 +1,5 @@
1
1
  module BeakerHostGenerator
2
2
  module Version
3
- STRING = '2.2.1'
3
+ STRING = '2.2.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: beaker-hostgenerator
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Branan Purvine-Riley
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2023-07-27 00:00:00.000000000 Z
14
+ date: 2023-07-30 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: fakefs