Skip to content

Commit

Permalink
Merge pull request #2487 from shubhamshinde360/PA-6004
Browse files Browse the repository at this point in the history
(PA-6004) Add SLES-11 (Intel) support
  • Loading branch information
joshcooper authored Feb 20, 2024
2 parents bbba8cb + 30195a5 commit a5c2566
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion configs/components/pxp-agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"tar -xzf #{tarball_name}",
"for d in opt var private; do rsync -ka --ignore-existing \"$${d}/\" \"/$${d}/\"; done"
]
elsif platform.is_aix? || platform.is_solaris?
elsif platform.is_aix? || platform.is_solaris? || platform.name =~ /sles-11-x86_64/
install_command = ["gunzip -c #{tarball_name} | #{platform.tar} -C / -xf -"]
else
install_command = ["gunzip -c #{tarball_name} | #{platform.tar} --skip-old-files -C / -xf -"]
Expand Down
9 changes: 9 additions & 0 deletions configs/platforms/sles-11-x86_64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
platform "sles-11-x86_64" do |plat|
plat.servicedir "/etc/init.d"
plat.defaultdir "/etc/sysconfig"
plat.servicetype "sysv"
packages = ["make", "rsync"]
plat.provision_with "zypper -n --no-gpg-checks install -y #{packages.join(' ')}"
plat.install_build_dependencies_with "zypper -n --no-gpg-checks install -y"
plat.vmpooler_template "sles-11-x86_64"
end

0 comments on commit a5c2566

Please sign in to comment.