diff --git a/CHANGELOG.md b/CHANGELOG.md index e7d15298..b3e2a119 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ This project adheres to [Semantic Versioning](https://semver.org). This changelog adheres to [Keep a CHANGELOG](https://keepachangelog.com). ## [Unreleased] +### Added +- (VANAGON-228) Add Fedora-38 (Intel) platform definition to vanagon ## [0.44.0] - 2023-11-30 ### Added diff --git a/lib/vanagon/platform/defaults/fedora-38-x86_64.rb b/lib/vanagon/platform/defaults/fedora-38-x86_64.rb new file mode 100644 index 00000000..70f594d4 --- /dev/null +++ b/lib/vanagon/platform/defaults/fedora-38-x86_64.rb @@ -0,0 +1,17 @@ +platform 'fedora-38-x86_64' do |plat| + plat.servicedir '/usr/lib/systemd/system' + plat.defaultdir '/etc/sysconfig' + plat.servicetype 'systemd' + plat.dist 'fc38' + + packages = %w[ + autoconf automake bzip2-devel gcc gcc-c++ libselinux-devel + libsepol libsepol-devel make cmake pkgconfig readline-devel + rpmdevtools rsync swig zlib-devel systemtap-sdt-devel + perl-lib perl-FindBin + ] + plat.provision_with("/usr/bin/dnf install -y --best --allowerasing #{packages.join(' ')}") + + plat.install_build_dependencies_with '/usr/bin/dnf install -y --best --allowerasing' + plat.vmpooler_template 'fedora-38-x86_64' +end