0

Linux cleanup before turning images into templates for virtual environments

After the OS is installed and prepped there are some cleanup steps needed before turning it into a template.

  • Remove old kernels
  • Remove yum cache
  • Clean out log files
  • Remove device persistencies
  • Clean up MAC and UUID
  • Clean up history and keys
  • I made a sample script that will automate the process. Instead of hosting the script here I've moved it to my github.

    jlim0930

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    This site uses Akismet to reduce spam. Learn how your comment data is processed.