Add Rocky 10 Packer build configuration

This commit is contained in:
2026-05-20 23:06:07 -04:00
parent 2d29791794
commit 5188d8709f
9 changed files with 306 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/usr/bin/env bash
set -x
dnf clean all || exit 1
rm -rf /var/cache/libdnf5/*
rm -rf /var/tmp/* /var/tmp/.[!.]*
[[ -f /var/log/wtmp ]] && truncate -s 0 /var/log/wtmp
dd if=/dev/zero of=/EMPTY bs=1M
sync || exit 1
rm -f /EMPTY || exit 1