Skip to content

Reproduce the functionality of virt-sysprep for use with Packer builds

License

Notifications You must be signed in to change notification settings

bemillenium/packer-virt-sysprep

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Packer-Virt-Sysprep


Scripts to clean and prepare a VM for cloning à la libguestfs's virt-sysprep but from within a running guest.

The intention is to provide virt-sysprep style operations such as log removal, removal of a guests host ssh keys, deletion of custom firewall rules etc for use with automated build tools such as packer.

Currently libguestfs is not available for all host platforms. Additionally virt-sysprep requires that the guest VM be shutdown prior to use.


Please see the packer-virt-sysprep-example repository for example usage and further details.

About

Reproduce the functionality of virt-sysprep for use with Packer builds

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%