packer-images/images/almalinux/8.10/base/variables.auto.pkrvars.hcl
Ben Vincent be28558cff
All checks were successful
Build / build (pull_request) Successful in 20m34s
feat: update incus build process
- ensure unkin-ca-certificates are installed
- find the default incus remote and use that for images
- dont set publish_remote_name
- build incus images for the base image
- build puppet-base image for incus only
- ensure builds are made with the `build` profile
- only build 9.5+ for incus
- prevent the build system from building images twice
2025-04-24 00:50:26 +10:00

28 lines
616 B
HCL

# almalinux/8.10/base
deploy_files_from_image = true
deploy_files_from_common = true
packages = [
"git",
"jq",
"make",
"python3.11",
"python3.11-pip",
"python3.12",
"python3.12-pip",
"unkin-ca-certificates",
"uv",
"wget",
]
scripts_pre_file_copy = [
"rm -f /etc/yum.repos.d/*.repo",
"curl -k -o internal-ca-certificates.rpm https://git.query.consul/unkin/-/packages/rpm/internal-ca-certificates/20240825-1.el8/files/756 && rpm -i internal-ca-certificates.rpm"
]
scripts_pre_packages = [
"dnf makecache",
"dnf update -y",
]
scripts_final = [
"dnf clean all",
"rm -rf /var/cache/dnf"
]