Skip to content

Commit

Permalink
Merge pull request #837 from h0tw1r3/vanagon-239
Browse files Browse the repository at this point in the history
(VANAGON-239) add ubuntu 24.04 x86_64 platform definition
  • Loading branch information
h0tw1r3 authored Feb 13, 2024
2 parents 87eda19 + 96eaba9 commit b3c2398
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ This changelog adheres to [Keep a CHANGELOG](https://keepachangelog.com).
### Added
- (VANAGON-228) Add Fedora-38 (Intel) platform definition to vanagon
- (RE-16102) Add Redhat-9 FIPS platform definition to vanagon
- (VANAGON-239) Add Ubuntu 24.04 (x86_64) platform definition

## [0.44.0] - 2023-11-30
### Added
Expand Down
12 changes: 12 additions & 0 deletions lib/vanagon/platform/defaults/ubuntu-24.04-amd64.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
platform "ubuntu-24.04-amd64" do |plat|
plat.servicedir "/lib/systemd/system"
plat.defaultdir "/etc/default"
plat.servicetype "systemd"
plat.codename "noble"

packages = %w(build-essential devscripts make quilt pkg-config debhelper rsync fakeroot cmake curl)
plat.provision_with "export DEBIAN_FRONTEND=noninteractive; apt-get update -qq; apt-get install -qy --no-install-recommends #{packages.join(' ')}"
plat.provision_with "curl https://apt.puppet.com/DEB-GPG-KEY-puppet-20250406 | apt-key add -"
plat.install_build_dependencies_with "DEBIAN_FRONTEND=noninteractive; apt-get install -qy --no-install-recommends "
plat.vmpooler_template "ubuntu-2404-x86_64"
end

0 comments on commit b3c2398

Please sign in to comment.