Skip to content
This repository has been archived by the owner on Jan 15, 2025. It is now read-only.

(PA-4674) Add RedHat 9 (Power9) platform definition to pxp-agent-vana… #114

Merged
merged 1 commit into from
Apr 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions configs/platforms/el-9-ppc64le.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
platform 'el-9-ppc64le' do |plat|
plat.servicedir '/usr/lib/systemd/system'
plat.defaultdir '/etc/sysconfig'
plat.servicetype 'systemd'

# Workaround for an issue with RedHat subscription metadata, see ITSYS-2543
plat.provision_with('subscription-manager repos --disable rhel-9-for-ppc64le-baseos-rpms && subscription-manager repos --enable rhel-9-for-ppc64le-baseos-rpms')

packages = %w[make cmake gcc-c++ libarchive]
plat.provision_with("dnf install -y --allowerasing #{packages.join(' ')}")
plat.install_build_dependencies_with 'dnf install -y --allowerasing'
plat.vmpooler_template 'redhat-9-power9'
end