Azure / Azure/azvmimagebuilder

Disable cleaning scripts from the system

Open
#12 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PowerShell
Stars
111
Forks
69
PR merge metrics
No merged PRs in 30d

Description

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](https://user-images.githubusercontent.com/46190384/136924572-c0c0ac29-b3e1-4454-866e-29e26be32111.png)

With packer it is possible to use [`skip_clean`](https://www.packer.io/docs/provisioners/shell#skip_clean) to avoid this issue. Is there a similar option available with AIB or possibly made available in the near future?

Thanks

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.