Add Rocky 10 Packer build configuration
This commit is contained in:
Executable
+11
@@ -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
|
||||
Reference in New Issue
Block a user