create ubuntu small packer config

This commit is contained in:
2025-09-16 21:55:49 -05:00
parent 405aae5209
commit 1959a667d4
20 changed files with 686 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/bash -eux
pip uninstall -y ansible
dnf clean all
# Zero out the rest of the free space using dd, then delete the written file.
#dd if=/dev/zero of=/EMPTY bs=1M
#rm -f /EMPTY
# Add `sync` so Packer doesn't quit too early, before the large file is deleted.
sync