beaker-hostgenerator 2.2.2 → 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: 93ed6dbbd9d25d946d16120fa33f862ce17fef626f20929e32833c053763f564
4
- data.tar.gz: 5b615776e072662675ec1c6f27ad433257ed941de43d75fc73ac371af041d350
3
+ metadata.gz: c4750b645ea54dcb7a01ff52e8ce856b91b0800d705766212eeea2142ef689e9
4
+ data.tar.gz: 264cd3f5504e3b4a63dd163d33bef5168fcd63990d7847624725645fc1a8f61a
5
5
  SHA512:
6
- metadata.gz: 8cf058c89d83f556cb8c7dddd3e29ccdecf115e335faf57b2c870630cbab1ff1f1c3fd17be1417350729b5b74ba0fec080194d9067ecdc17c0a5271e71627ba0
7
- data.tar.gz: 48b9975c3cbce170ef22160dff4de8fec6d6390c96f3965a218242e527a0586f5e98701c960d5771d7a5ba45e6c4f21c69fe36e1da29395ffb7213b1cf76c8e4
6
+ metadata.gz: 0207fab6d139d5019c1ed18a272342a063e9608217af1b28d7b1ba71f215b2fdceb58c01143d53df02e111bc77e1a6f0c988bbb9fd58ce0c6b9c2f4121db4c54
7
+ data.tar.gz: e3ab592501282324f12ffd66afcf8646a50aa76584923a567af1b31b26d2ab0f1f2a7c212ff1380937a4da02c2e92887b77492995070a5fe9e5776166cb6e268
data/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
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
+
5
14
  ## [2.2.2](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.2.2) (2023-07-27)
6
15
 
7
16
  [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.2.1...2.2.2)
@@ -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
  [
@@ -1,5 +1,5 @@
1
1
  module BeakerHostGenerator
2
2
  module Version
3
- STRING = '2.2.2'
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.2
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