cloudbase / windows-imaging-tools

Tools to automate the creation of a Windows image for OpenStack, supporting KVM, Hyper-V, ESXi and more.
Apache License 2.0
670 stars 227 forks source link

Allow image cleanup before packaging #311

Closed ader1990 closed 4 years ago

ader1990 commented 4 years ago

In the offline gold image builder, add config to enable DISM Cleanup-Image to be run before packaging the image, so that updates installed during the extra_packages phase can be cleaned up before packaging.

The following new config options are added:

ader1990 commented 4 years ago

@logan2211 please take a look at this PR and let me know if it works for you. This PR should replace https://github.com/cloudbase/windows-openstack-imaging-tools/pull/243