Merge branch '2025-04-updates' into 'main'

2025-04 updates, including Leap 16.0

See merge request greg/vms!19
This commit is contained in:
Greg Hellings
2025-04-03 02:52:11 +00:00
14 changed files with 33 additions and 50 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
distro = "almalinux"
version = "8"
iso = {
url = "https://mirrors.kernel.org/almalinux/8.9/isos/x86_64/AlmaLinux-8.9-x86_64-boot.iso"
checksum = "ab861d80c8b68634f3c16d414a4141759a082548ad7b251d8924675fa09decab"
url = "https://mirrors.kernel.org/almalinux/8.10/isos/x86_64/AlmaLinux-8.10-x86_64-boot.iso"
checksum = "cc3e61faf2dd6c9c80d3beeb47eaaba235ac13fe1b617209c3c1e546528ccb99"
}
boot_command = [
"<up>e<wait>",
+2 -2
View File
@@ -1,8 +1,8 @@
distro = "almalinux"
version = "9"
iso = {
url = "https://mirrors.kernel.org/almalinux/9.4/isos/x86_64/AlmaLinux-9.4-x86_64-boot.iso"
checksum = "1e5d7da3d84d5d9a5a1177858a5df21b868390bfccf7f0f419b1e59acc293160"
url = "https://mirrors.kernel.org/almalinux/9.5/isos/x86_64/AlmaLinux-9.5-x86_64-boot.iso"
checksum = "3038fb71a29d33c3c93117bd8f4c3f612cb152dce057c666b6b11dfa793fb65c"
}
boot_command = [
"<up>e<wait>",
+2 -2
View File
@@ -1,8 +1,8 @@
distro = "alpine"
version = "3.19.0"
iso = {
url = "http://dl-cdn.alpinelinux.org/alpine/v3.19/releases/x86_64/alpine-extended-3.19.4-x86_64.iso"
checksum = "1b7efcb485ec5ce6f662782ba318a8a75b33be07188b6da0e005e03744afe3c1"
url = "https://dl-cdn.alpinelinux.org/alpine/v3.19/releases/x86_64/alpine-extended-3.19.7-x86_64.iso"
checksum = "cbcb657e968ed88941fdbade9f26dcb241cb5ee3da496150dc584d7159055ac5"
}
boot_command = [
"root<enter><wait1>",
+2 -2
View File
@@ -1,8 +1,8 @@
distro = "alpine"
version = "3.20"
iso = {
url = "http://dl-cdn.alpinelinux.org/alpine/v3.20/releases/x86_64/alpine-standard-3.20.3-x86_64.iso"
checksum = "c66fc1e0470781f8ecbab8eb9cc8d906066171a5e0c6c1ab20aedc7061836d27"
url = "https://dl-cdn.alpinelinux.org/alpine/v3.20/releases/x86_64/alpine-extended-3.20.6-x86_64.iso"
checksum = "171974b08932fa437acda9728ad5d600a04f50538156f03358ecf55efbecfff1"
}
boot_command = [
"root<enter><wait1>",
+2 -2
View File
@@ -1,8 +1,8 @@
distro = "alpine"
version = "3.21"
iso = {
url = "https://dl-cdn.alpinelinux.org/alpine/v3.21/releases/x86_64/alpine-standard-3.21.2-x86_64.iso"
checksum = "706e9521cd21188786cb983131040ee68399e504924ea3318d600d1e04a93878"
url = "https://dl-cdn.alpinelinux.org/alpine/v3.21/releases/x86_64/alpine-extended-3.21.3-x86_64.iso"
checksum = "3e0ab3b6b4409bd0012be59970f08522e7fb049b6634242875e30add290f5444"
}
boot_command = [
"root<enter><wait1>",
+2 -2
View File
@@ -1,8 +1,8 @@
distro = "archlinux"
version = "rolling"
iso = {
url = "http://mirror.rackspace.com/archlinux/iso/2025.01.01/archlinux-x86_64.iso"
checksum = "74b109b4b36d20bef8f4203e30b8d223e0ab297a09d1a1213a02894472aa530a"
url = "https://mirror.rackspace.com/archlinux/iso/2025.03.01/archlinux-2025.03.01-x86_64.iso"
checksum = "8150e3c1a479de9134baa13cea4ff78856cca5ebeb9bdfa87ecfce2e47ac9b5b"
}
boot_command = [
"e<down><down><down><end> net.ifnames=0 biosdevnames=0 <enter>",
+2 -2
View File
@@ -1,8 +1,8 @@
distro = "debian"
version = "12"
iso = {
url = "http://cdimage.debian.org/cdimage/release/12.8.0/amd64/iso-cd/debian-12.8.0-amd64-netinst.iso"
checksum = "04396d12b0f377958a070c38a923c227832fa3b3e18ddc013936ecf492e9fbb3"
url = "https://cdimage.debian.org/cdimage/release/12.10.0/amd64/iso-cd/debian-12.10.0-amd64-netinst.iso"
checksum = "ee8d8579128977d7dc39d48f43aec5ab06b7f09e1f40a9d98f2a9d149221704a"
}
boot_command = [
"<down>e<wait><down><down><down><end><bs><bs><bs><bs><bs><bs><bs><bs><bs><bs>",
+2 -2
View File
@@ -1,8 +1,8 @@
distro = "fedora"
version = "41"
iso = {
url = "https://download.fedoraproject.org/pub/fedora/linux/releases/41/Server/x86_64/iso/Fedora-Server-dvd-x86_64-41-1.4.iso"
checksum = "6037e489103401a6ad4e54a4bcb2df7525693bdc3f2ce4aa895838b65647e551"
url = "https://download.fedoraproject.org/pub/fedora/linux/releases/41/Server/x86_64/iso/Fedora-Server-netinst-x86_64-41-1.4.iso"
checksum = "630c52ba9e7a7f229b026e241ba74b9bc105e60ba5bf7b222693ae0e25f05c97"
}
boot_command = [
"<up>e<down><down><end> ",
+2 -2
View File
@@ -1,8 +1,8 @@
distro = "opensuse"
version = "16.0"
iso = {
url = "https://download.opensuse.org/distribution/leap/16.0/installer/iso/agama-installer-Leap.x86_64-16.0.0-Leap-Build49.1.iso"
checksum = "e930c07476556481fbe15c1e471c20a04bb06f3daea6e2431b0a77a852261dc9"
url = "https://download.opensuse.org/distribution/leap/16.0/installer/iso/agama-installer-Leap.x86_64-16.0.0-Leap-Build105.1.iso"
checksum = "63784c9b201704cfc146065b24bbc7df082f2891f6ab6a5457753aa2fc1dbe26"
}
boot_command = [
"e<wait>",
+9 -27
View File
@@ -44,44 +44,26 @@ local memory = agama.findByID(agama.lshw, 'memory').size;
storage: {
boot: {
configure: true,
device: findBiggestDisk(agama.selectByClass(agama.lshw, 'disk')),
device: "boot",
},
drives: [{
search: findBiggestDisk(agama.selectByClass(agama.lshw, 'disk')),
alias: "boot",
ptableType: 'gpt',
partitions: [{
search: '*',
delete: true
"search": "*",
"delete": true,
},{
id: 'esp',
size: '512 MiB',
filesystem: {
type: 'vfat',
path: '/boot',
mountBy: 'label',
label: 'boot',
mountOptions: [ "noatime" ]
},
},{
id: 'linux',
size: {
min: '9 GiB',
},
filesystem: {
type: 'ext4',
path: '/',
mountBy: 'label',
label: 'root',
mountOptions: [ "noatime" ]
}
}]
"generate": "default"
}],
}]
},
scripts: {
pre: [],
post: [ {
name: 'configure-vagrant',
chroot: true,
body: |||
#!/bin/sh
# Configure the insecure Vagrant SSH key
mkdir -p /home/vagrant/.ssh
curl -o /home/vagrant/.ssh/authorized_keys https://raw.githubusercontent.com/hashicorp/vagrant/master/keys/vagrant.pub
@@ -90,7 +72,7 @@ local memory = agama.findByID(agama.lshw, 'memory').size;
# Start services
systemctl enable sshd
# Configure sudo access for the vagrant user
cat < EOF > /etc/sudoers/sudoers.d/00_vagrant
cat << EOF > /etc/sudoers.d/00_vagrant
Defaults:vagrant !requiretty
vagrant ALL=(ALL) NOPASSWD: ALL
root ALL=(ALL) NOPASSWD: ALL
+1 -1
View File
@@ -12,7 +12,7 @@
{
version = "16.0";
arch = "amd64";
eol = true; # Not yet released, and bugged at the moment
eol = false; # Not yet released, and bugged at the moment
}
{
version = "tumbleweed";
+2 -2
View File
@@ -1,8 +1,8 @@
distro = "rockylinux"
version = "8"
iso = {
url = "https://download.rockylinux.org/pub/rocky/8/isos/x86_64/Rocky-8.9-x86_64-boot.iso"
checksum = "88baefca6f0e78b53613773954e0d7c2d8d28ad863f40623db75c40f505b5105"
url = "https://download.rockylinux.org/pub/rocky/8.10/isos/x86_64/Rocky-8.10-x86_64-boot.iso"
checksum = "203744a255ea6579e49ca7f7f0f17e2fda94e50945d8183a254490e454c7c5b4"
}
boot_command = [
"<up>e<wait>",
+2 -2
View File
@@ -1,8 +1,8 @@
distro = "rockylinux"
version = "9"
iso = {
url = "https://download.rockylinux.org/pub/rocky/9.4/isos/x86_64/Rocky-9.4-x86_64-boot.iso"
checksum = "c7e95e3dba88a1f68fff8b7d4e66adf6f76ac4fba2e246a83c46ab79574c78a8"
url = "https://download.rockylinux.org/pub/rocky/9.5/isos/x86_64/Rocky-9.5-x86_64-boot.iso"
checksum = "628c069c9685477360640a6b58dc919692a11c44b49a50a024b5627ce3c27d5f"
}
boot_command = [
"<up>e<wait>",
+1
View File
@@ -101,6 +101,7 @@
if [ -e "''${PACKER_CONFIG_DIR}" ]; then
find "''${PACKER_CONFIG_DIR}" -name '*_linux_amd64' -exec chmod +x '{}' ";"
fi
export TMPDIR=/var/tmp
packer init sources
packer build -only=${d.provider}.${d.arch} -var-file=${distroFile d} ${args} sources/
'';