Azure/azvmimagebuilder

Disable cleaning scripts from the system

blthomas opened this issue · 0 comments

I am using AIB to build a WinServ2016 image with CIS hardening policies applied. Once the hardening policies are applied, the build seems to hang and I found this is because packer is not able to cleanup the temporary script it uploaded when looked through the customization.log:
image

With packer it is possible to use skip_clean to avoid this issue. Is there a similar option available with AIB or possibly made available in the near future?

Thanks