Mark Sutton
summary
A reproducible CentOS image workflow is described that builds with virt-install, cleans with virt-sysprep, fixes SELinux labels offline via guestfish and libguestfs, then spify/sparsify and compress for Glance. Images initialize AIDE (baseline created preboot), include a dracut growroot module so the root partition auto‑resizes on first boot, avoid LVM and in‑image swap (use OpenStack flavors), and import to Glance; a 1.1 GB fresh image compresses to ~361 MB and the whole build plus prep takes about 15–20 minutes and boots successfully with cloud-init enrolling to FreeIPA.
AI-written summary · about
chapters (15)
- 0:00Introduction to cloud image building
- 1:14Optimizing OS images for OpenStack
- 3:43Automatic root partition resizing
- 6:09Best practices for image creation
- 8:17Demo of image building tools
- 10:23Cloud init and post-boot hooks
- 13:14SE Linux label fixes after prep
- 17:23Free IPA client enrollment
- 21:50Instance launch and cloud init execution
- 23:44Swap and memory management
- 29:07Free IPA in private cloud
- 31:23Verifying instance setup
- 32:17AIDE file integrity checks
- 36:46MicroStack private cloud
- 37:06Q&A and audience insights
