Skip to content

Commit

Permalink
Copy amazon-7 to amazon-2
Browse files Browse the repository at this point in the history
We're intentionally continuing to use the amazon-7-arm64 VM template
  • Loading branch information
joshcooper committed Jun 3, 2024
1 parent d48227b commit 5ab7c66
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
- Add Amazon 2 (ARM) platform definition to vanagon

## [0.51.0] - 2024-05-31
### Added
Expand Down
10 changes: 10 additions & 0 deletions lib/vanagon/platform/defaults/amazon-2-aarch64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
platform "amazon-2-aarch64" do |plat|
plat.servicedir "/usr/lib/systemd/system"
plat.defaultdir "/etc/sysconfig"
plat.servicetype "systemd"

packages = %w(autoconf automake createrepo gcc gcc-c++ rsync cmake3 make rpm-libs rpm-build libarchive)
plat.provision_with("yum install -y --nogpgcheck #{packages.join(' ')}")
plat.install_build_dependencies_with "yum install --assumeyes"
plat.vmpooler_template "amazon-7-arm64"
end

0 comments on commit 5ab7c66

Please sign in to comment.