beaker-hostgenerator 2.2.2 → 2.3.0

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: 20f9997e3ca8e03b42c5a907fd60a5a8ca733b1060f00da41d3166ec5f3340a0
4
+ data.tar.gz: a481a3429cac0087c2e711d1b4e42b4b8d1e2e35a0450491da77f7cf8f9130dd
5
5
  SHA512:
6
- metadata.gz: 8cf058c89d83f556cb8c7dddd3e29ccdecf115e335faf57b2c870630cbab1ff1f1c3fd17be1417350729b5b74ba0fec080194d9067ecdc17c0a5271e71627ba0
7
- data.tar.gz: 48b9975c3cbce170ef22160dff4de8fec6d6390c96f3965a218242e527a0586f5e98701c960d5771d7a5ba45e6c4f21c69fe36e1da29395ffb7213b1cf76c8e4
6
+ metadata.gz: c14cbabe0de053b0b9005b6ecd4d38b5ef182b03f48dca482a006761a031e14bcb382d2aadbef124961a757ea9a4db491203b0918a565de71f9f3790b5a00949
7
+ data.tar.gz: 35ccb6e2e2c5a169da594e075f72f69aad09f8db7b51bfae4e7353caa970a662f45188d10f8b05aa202b27291f5f5a0aa0680360decfa49ac8a2d2449102a690
data/CHANGELOG.md CHANGED
@@ -2,6 +2,24 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## [2.3.0](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.3.0) (2023-08-11)
6
+
7
+ [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.2.3...2.3.0)
8
+
9
+ **Implemented enhancements:**
10
+
11
+ - Support Debian 12 \(\#323\) [\#324](https://github.com/voxpupuli/beaker-hostgenerator/pull/324) ([deric](https://github.com/deric))
12
+ - Add OracleLinux 8 & 9 support [\#321](https://github.com/voxpupuli/beaker-hostgenerator/pull/321) ([bastelfreak](https://github.com/bastelfreak))
13
+
14
+ ## [2.2.3](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.2.3) (2023-07-30)
15
+
16
+ [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.2.2...2.2.3)
17
+
18
+ **Fixed bugs:**
19
+
20
+ - Debian: Install iproute2 [\#318](https://github.com/voxpupuli/beaker-hostgenerator/pull/318) ([bastelfreak](https://github.com/bastelfreak))
21
+ - Move abs template logic to hypervisor [\#317](https://github.com/voxpupuli/beaker-hostgenerator/pull/317) ([AriaXLi](https://github.com/AriaXLi))
22
+
5
23
  ## [2.2.2](https://github.com/voxpupuli/beaker-hostgenerator/tree/2.2.2) (2023-07-27)
6
24
 
7
25
  [Full Changelog](https://github.com/voxpupuli/beaker-hostgenerator/compare/2.2.1...2.2.2)
@@ -185,6 +185,14 @@ module BeakerHostGenerator
185
185
  'box' => 'debian/bullseye64',
186
186
  },
187
187
  },
188
+ 'debian12-64' => {
189
+ general: {
190
+ 'platform' => 'debian-12-amd64',
191
+ },
192
+ vagrant: {
193
+ 'box' => 'debian/bookworm64',
194
+ },
195
+ },
188
196
  'panos61-64' => {
189
197
  general: {
190
198
  'platform' => 'palo-alto-6.1.0-x86_64',
@@ -1076,9 +1084,9 @@ module BeakerHostGenerator
1076
1084
  end
1077
1085
  end
1078
1086
 
1079
- # Oracle
1087
+ # Oracle / OracleLinux
1080
1088
  yield ['oracle6-32', 'el-6-i386']
1081
- (6..7).each do |release|
1089
+ (6..9).each do |release|
1082
1090
  yield ["oracle#{release}-64", "el-#{release}-x86_64"]
1083
1091
  end
1084
1092
 
@@ -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']}'"
@@ -49,7 +49,7 @@ module BeakerHostGenerator
49
49
 
50
50
  def image_commands(ostype)
51
51
  case ostype
52
- when /^(almalinux|centos|rocky)/
52
+ when /^(almalinux|centos|rocky|oracle)/
53
53
  [
54
54
  'cp /bin/true /sbin/agetty',
55
55
  el_package_install_command(ostype.delete_prefix(Regexp.last_match(1)).to_i),
@@ -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.3.0'
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.3.0
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-08-11 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: fakefs