Skip to content

Commit

Permalink
(PA-6600) Add Fedora 41 to vanagon defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
shubhamshinde360 committed Dec 5, 2024
1 parent 701cccd commit bb3657d
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions lib/vanagon/platform/defaults/fedora-41-x86_64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
platform 'fedora-41-x86_64' do |plat|
plat.servicedir '/usr/lib/systemd/system'
plat.defaultdir '/etc/sysconfig'
plat.servicetype 'systemd'
plat.dist 'fc41'

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-41-x86_64'
end

0 comments on commit bb3657d

Please sign in to comment.