Skip to content

Commit

Permalink
(VANAGON-242) add amazon linux2 in vanagon
Browse files Browse the repository at this point in the history
  • Loading branch information
amitkarsale committed Apr 17, 2024
1 parent 9e8dd72 commit 8980514
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lib/vanagon/platform/defaults/amazon-7-x86_64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
platform "amazon-7-x86_64" do |plat|
plat.servicedir "/usr/lib/systemd/system"
plat.defaultdir "/etc/sysconfig"
plat.servicetype "systemd"

packages = %w(gcc gcc-c++ autoconf automake createrepo rsync cmake make rpm-libs rpm-build rpm-sign libtool libarchive)
plat.provision_with "dnf install -y --allowerasing #{packages.join(' ')}"
plat.install_build_dependencies_with "dnf install -y --allowerasing "
plat.vmpooler_template "amazon-7-x86_64"
end

0 comments on commit 8980514

Please sign in to comment.