Compare commits
1 Commits
46d1775e51
...
eb3d5b3956
| Author | SHA1 | Date | |
|---|---|---|---|
| eb3d5b3956 |
@ -50,11 +50,11 @@ build {
|
||||
|
||||
post-processor "shell-local" {
|
||||
inline = [
|
||||
"incus image alias delete local:${local.incus_base_name}/latest || true",
|
||||
"incus image alias delete local:${local.incus_base_name}/${var.date} || true",
|
||||
"incus image info local:${local.incus_output_image} | grep Fingerprint | awk '{print $2}'",
|
||||
"incus image alias create local:${local.incus_base_name}/latest $(incus image info local:${local.incus_output_image} | grep Fingerprint | awk '{print $2}')",
|
||||
"incus image alias create local:${local.incus_base_name}/${var.date} $(incus image info local:${local.incus_output_image} | grep Fingerprint | awk '{print $2}')"
|
||||
"incus image alias delete $(incus remote get-default):${local.incus_base_name}/latest || true",
|
||||
"incus image alias delete $(incus remote get-default):${local.incus_base_name}/${var.date} || true",
|
||||
"incus image info $(incus remote get-default):${local.incus_output_image} | grep Fingerprint | awk '{print $2}'",
|
||||
"incus image alias create $(incus remote get-default):${local.incus_base_name}/latest $(incus image info $(incus remote get-default):${local.incus_output_image} | grep Fingerprint | awk '{print $2}')",
|
||||
"incus image alias create $(incus remote get-default):${local.incus_base_name}/${var.date} $(incus image info $(incus remote get-default):${local.incus_output_image} | grep Fingerprint | awk '{print $2}')"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
@ -1 +1,2 @@
|
||||
docker
|
||||
incus
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# almalinux/8.10/base
|
||||
deploy_files_from_image = true
|
||||
deploy_files_from_common = true
|
||||
use_incus = false
|
||||
use_incus = true
|
||||
packages = [
|
||||
"git",
|
||||
"jq",
|
||||
@ -10,6 +10,7 @@ packages = [
|
||||
"python3.11-pip",
|
||||
"python3.12",
|
||||
"python3.12-pip",
|
||||
"unkin-ca-certificates",
|
||||
"uv",
|
||||
"wget",
|
||||
]
|
||||
|
||||
1
images/almalinux/8.10/puppet-base/builds
Normal file
1
images/almalinux/8.10/puppet-base/builds
Normal file
@ -0,0 +1 @@
|
||||
incus
|
||||
@ -0,0 +1,4 @@
|
||||
[puppet]
|
||||
name=puppet repository
|
||||
baseurl=https://packagerepo.service.consul/puppet7/el/8-daily/x86_64/os/
|
||||
gpgkey=https://packagerepo.service.consul/puppet7/el/8-daily/x86_64/os/RPM-GPG-KEY-puppet-20250406
|
||||
16
images/almalinux/8.10/puppet-base/variables.auto.pkrvars.hcl
Normal file
16
images/almalinux/8.10/puppet-base/variables.auto.pkrvars.hcl
Normal file
@ -0,0 +1,16 @@
|
||||
# almalinux/8.10/puppet-base
|
||||
incus_source = "almalinux8/base/latest"
|
||||
deploy_files_from_image = true
|
||||
use_incus = true
|
||||
packages = [
|
||||
"puppet-agent",
|
||||
"puppet-initial"
|
||||
]
|
||||
scripts_pre_packages = [
|
||||
"dnf makecache",
|
||||
"dnf update -y",
|
||||
]
|
||||
scripts_final = [
|
||||
"dnf clean all",
|
||||
"rm -rf /var/cache/dnf"
|
||||
]
|
||||
@ -1 +1,2 @@
|
||||
docker
|
||||
incus
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# almalinux/9.5/base
|
||||
deploy_files_from_image = true
|
||||
deploy_files_from_common = true
|
||||
use_incus = false
|
||||
use_incus = true
|
||||
packages = [
|
||||
"git",
|
||||
"jq",
|
||||
@ -10,6 +10,7 @@ packages = [
|
||||
"python3.11-pip",
|
||||
"python3.12",
|
||||
"python3.12-pip",
|
||||
"unkin-ca-certificates",
|
||||
"uv",
|
||||
"wget",
|
||||
]
|
||||
|
||||
1
images/almalinux/9.5/puppet-base/builds
Normal file
1
images/almalinux/9.5/puppet-base/builds
Normal file
@ -0,0 +1 @@
|
||||
incus
|
||||
@ -0,0 +1,4 @@
|
||||
[puppet]
|
||||
name=puppet repository
|
||||
baseurl=https://packagerepo.service.consul/puppet7/el/9-daily/x86_64/os/
|
||||
gpgkey=https://packagerepo.service.consul/puppet7/el/9-daily/x86_64/os/RPM-GPG-KEY-puppet-20250406
|
||||
16
images/almalinux/9.5/puppet-base/variables.auto.pkrvars.hcl
Normal file
16
images/almalinux/9.5/puppet-base/variables.auto.pkrvars.hcl
Normal file
@ -0,0 +1,16 @@
|
||||
# almalinux/9.5/puppet-base
|
||||
incus_source = "almalinux9/base/latest"
|
||||
deploy_files_from_image = true
|
||||
use_incus = true
|
||||
packages = [
|
||||
"puppet-agent",
|
||||
"puppet-initial"
|
||||
]
|
||||
scripts_pre_packages = [
|
||||
"dnf makecache",
|
||||
"dnf update -y",
|
||||
]
|
||||
scripts_final = [
|
||||
"dnf clean all",
|
||||
"rm -rf /var/cache/dnf"
|
||||
]
|
||||
@ -7,5 +7,5 @@ source "docker" "os" {
|
||||
source "incus" "os" {
|
||||
image = var.incus_source
|
||||
output_image = local.incus_output_image
|
||||
publish_remote_name = "incus-images"
|
||||
profile = "build"
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user