Skip to content

Commit

Permalink
RE-16102: add platform support for redhatfips-9
Browse files Browse the repository at this point in the history
RE-16102: add platform support for redhatfips-9
  • Loading branch information
Rishi Hegde committed Feb 13, 2024
1 parent 9c795e0 commit 2bdcf7a
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This changelog adheres to [Keep a CHANGELOG](https://keepachangelog.com).
## [Unreleased]
### Added
- (VANAGON-228) Add Fedora-38 (Intel) platform definition to vanagon
- (RE-16102) Add Redhat-9 FIPS platform definition to vanagon

## [0.44.0] - 2023-11-30
### Added
Expand Down
30 changes: 30 additions & 0 deletions lib/vanagon/platform/defaults/redhatfips-9-x86_64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
platform "redhatfips-9-x86_64" do |plat|
plat.servicedir "/usr/lib/systemd/system"
plat.defaultdir "/etc/sysconfig"
plat.servicetype "systemd"

packages = %w(
autoconf
automake
cmake
gcc-c++
java-1.8.0-openjdk-devel
libarchive
libsepol-devel
libselinux-devel
openssl-devel
pkgconfig
readline-devel
rpmdevtools
rpm-build
rsync
swig
systemtap-sdt-devel
yum-utils
zlib-devel
)

plat.provision_with "dnf install -y --allowerasing #{packages.join(' ')}"
plat.install_build_dependencies_with "dnf install -y --allowerasing "
plat.vmpooler_template "redhat-fips-9-x86_64"
end

0 comments on commit 2bdcf7a

Please sign in to comment.