diff --git a/lib/vanagon/platform/defaults/fedora-41-x86_64.rb b/lib/vanagon/platform/defaults/fedora-41-x86_64.rb new file mode 100644 index 00000000..69b99d04 --- /dev/null +++ b/lib/vanagon/platform/defaults/fedora-41-x86_64.rb @@ -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